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 f168c25..3f5b0f1 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 @@ -571,6 +571,7 @@ "People" ], "summary": "Invoke functionImport GetPersonWithMostFriends", + "description": "The person with most friends.", "operationId": "FunctionImport.GetPersonWithMostFriends", "produces": [ "application/json" @@ -691,6 +692,7 @@ "Me.Person" ], "summary": "Get BestFriend from Me", + "description": "The best friend.", "operationId": "Me.GetBestFriend", "produces": [ "application/json" @@ -757,6 +759,7 @@ "Me.Person" ], "summary": "Get ref of BestFriend from Me", + "description": "The best friend.", "operationId": "Me.GetRefBestFriend", "produces": [ "application/json" @@ -779,6 +782,7 @@ "Me.Person" ], "summary": "Update the ref of navigation property BestFriend in Me", + "description": "The best friend.", "operationId": "Me.UpdateRefBestFriend", "consumes": [ "application/json" @@ -812,6 +816,7 @@ "Me.Person" ], "summary": "Delete ref of navigation property BestFriend for Me", + "description": "The best friend.", "operationId": "Me.DeleteRefBestFriend", "parameters": [ { @@ -1195,6 +1200,7 @@ "Me.Actions" ], "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", "operationId": "Me.ShareTrip", "consumes": [ "application/json" @@ -1272,6 +1278,7 @@ "Me.Trip" ], "summary": "Get Trips from Me", + "description": "Collection of trips.", "operationId": "Me.ListTrips", "produces": [ "application/json" @@ -1380,6 +1387,7 @@ "Me.Trip" ], "summary": "Create new navigation property to Trips for Me", + "description": "Collection of trips.", "operationId": "Me.CreateTrips", "consumes": [ "application/json" @@ -1418,6 +1426,7 @@ "Me.Trip" ], "summary": "Get Trips from Me", + "description": "Collection of trips.", "operationId": "Me.GetTrips", "produces": [ "application/json" @@ -1486,6 +1495,7 @@ "Me.Trip" ], "summary": "Update the navigation property Trips in Me", + "description": "Collection of trips.", "operationId": "Me.UpdateTrips", "consumes": [ "application/json" @@ -1527,6 +1537,7 @@ "Me.Trip" ], "summary": "Delete navigation property Trips for Me", + "description": "Collection of trips.", "operationId": "Me.DeleteTrips", "parameters": [ { @@ -2148,6 +2159,7 @@ "NewComePeople.Person" ], "summary": "Get BestFriend from NewComePeople", + "description": "The best friend.", "operationId": "NewComePeople.GetBestFriend", "produces": [ "application/json" @@ -2222,6 +2234,7 @@ "NewComePeople.Person" ], "summary": "Get ref of BestFriend from NewComePeople", + "description": "The best friend.", "operationId": "NewComePeople.GetRefBestFriend", "produces": [ "application/json" @@ -2254,6 +2267,7 @@ "NewComePeople.Person" ], "summary": "Update the ref of navigation property BestFriend in NewComePeople", + "description": "The best friend.", "operationId": "NewComePeople.UpdateRefBestFriend", "consumes": [ "application/json" @@ -2295,6 +2309,7 @@ "NewComePeople.Person" ], "summary": "Delete ref of navigation property BestFriend for NewComePeople", + "description": "The best friend.", "operationId": "NewComePeople.DeleteRefBestFriend", "parameters": [ { @@ -2736,6 +2751,7 @@ "NewComePeople.Actions" ], "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", "operationId": "NewComePeople.Person.ShareTrip", "consumes": [ "application/json" @@ -2829,6 +2845,7 @@ "NewComePeople.Trip" ], "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", "operationId": "NewComePeople.ListTrips", "produces": [ "application/json" @@ -2945,6 +2962,7 @@ "NewComePeople.Trip" ], "summary": "Create new navigation property to Trips for NewComePeople", + "description": "Collection of trips.", "operationId": "NewComePeople.CreateTrips", "consumes": [ "application/json" @@ -2991,6 +3009,7 @@ "NewComePeople.Trip" ], "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", "operationId": "NewComePeople.GetTrips", "produces": [ "application/json" @@ -3067,6 +3086,7 @@ "NewComePeople.Trip" ], "summary": "Update the navigation property Trips in NewComePeople", + "description": "Collection of trips.", "operationId": "NewComePeople.UpdateTrips", "consumes": [ "application/json" @@ -3116,6 +3136,7 @@ "NewComePeople.Trip" ], "summary": "Delete navigation property Trips for NewComePeople", + "description": "Collection of trips.", "operationId": "NewComePeople.DeleteTrips", "parameters": [ { @@ -3777,6 +3798,7 @@ "People.Person" ], "summary": "Get BestFriend from People", + "description": "The best friend.", "operationId": "People.GetBestFriend", "produces": [ "application/json" @@ -3851,6 +3873,7 @@ "People.Person" ], "summary": "Get ref of BestFriend from People", + "description": "The best friend.", "operationId": "People.GetRefBestFriend", "produces": [ "application/json" @@ -3883,6 +3906,7 @@ "People.Person" ], "summary": "Update the ref of navigation property BestFriend in People", + "description": "The best friend.", "operationId": "People.UpdateRefBestFriend", "consumes": [ "application/json" @@ -3924,6 +3948,7 @@ "People.Person" ], "summary": "Delete ref of navigation property BestFriend for People", + "description": "The best friend.", "operationId": "People.DeleteRefBestFriend", "parameters": [ { @@ -4365,6 +4390,7 @@ "People.Actions" ], "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", "operationId": "People.Person.ShareTrip", "consumes": [ "application/json" @@ -4458,6 +4484,7 @@ "People.Trip" ], "summary": "Get Trips from People", + "description": "Collection of trips.", "operationId": "People.ListTrips", "produces": [ "application/json" @@ -4574,6 +4601,7 @@ "People.Trip" ], "summary": "Create new navigation property to Trips for People", + "description": "Collection of trips.", "operationId": "People.CreateTrips", "consumes": [ "application/json" @@ -4620,6 +4648,7 @@ "People.Trip" ], "summary": "Get Trips from People", + "description": "Collection of trips.", "operationId": "People.GetTrips", "produces": [ "application/json" @@ -4696,6 +4725,7 @@ "People.Trip" ], "summary": "Update the navigation property Trips in People", + "description": "Collection of trips.", "operationId": "People.UpdateTrips", "consumes": [ "application/json" @@ -4745,6 +4775,7 @@ "People.Trip" ], "summary": "Delete navigation property Trips for People", + "description": "Collection of trips.", "operationId": "People.DeleteTrips", "parameters": [ { @@ -5104,6 +5135,7 @@ "ResetDataSource" ], "summary": "Invoke actionImport ResetDataSource", + "description": "Resets the data source to default values.", "operationId": "ActionImport.ResetDataSource", "responses": { "204": { @@ -5174,6 +5206,7 @@ "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" }, "Trips": { + "description": "Collection of trips.", "type": "array", "items": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" 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 1622fea..7262b3e 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 @@ -380,6 +380,7 @@ paths: tags: - People summary: Invoke functionImport GetPersonWithMostFriends + description: The person with most friends. operationId: FunctionImport.GetPersonWithMostFriends produces: - application/json @@ -465,6 +466,7 @@ paths: tags: - Me.Person summary: Get BestFriend from Me + description: The best friend. operationId: Me.GetBestFriend produces: - application/json @@ -514,6 +516,7 @@ paths: tags: - Me.Person summary: Get ref of BestFriend from Me + description: The best friend. operationId: Me.GetRefBestFriend produces: - application/json @@ -529,6 +532,7 @@ paths: tags: - Me.Person summary: Update the ref of navigation property BestFriend in Me + description: The best friend. operationId: Me.UpdateRefBestFriend consumes: - application/json @@ -551,6 +555,7 @@ paths: tags: - Me.Person summary: Delete ref of navigation property BestFriend for Me + description: The best friend. operationId: Me.DeleteRefBestFriend parameters: - in: header @@ -815,6 +820,7 @@ paths: tags: - Me.Actions summary: Invoke action ShareTrip + description: Details of the shared trip. operationId: Me.ShareTrip consumes: - application/json @@ -867,6 +873,7 @@ paths: tags: - Me.Trip summary: Get Trips from Me + description: Collection of trips. operationId: Me.ListTrips produces: - application/json @@ -942,6 +949,7 @@ paths: tags: - Me.Trip summary: Create new navigation property to Trips for Me + description: Collection of trips. operationId: Me.CreateTrips consumes: - application/json @@ -967,6 +975,7 @@ paths: tags: - Me.Trip summary: Get Trips from Me + description: Collection of trips. operationId: Me.GetTrips produces: - application/json @@ -1017,6 +1026,7 @@ paths: tags: - Me.Trip summary: Update the navigation property Trips in Me + description: Collection of trips. operationId: Me.UpdateTrips consumes: - application/json @@ -1046,6 +1056,7 @@ paths: tags: - Me.Trip summary: Delete navigation property Trips for Me + description: Collection of trips. operationId: Me.DeleteTrips parameters: - in: path @@ -1478,6 +1489,7 @@ paths: tags: - NewComePeople.Person summary: Get BestFriend from NewComePeople + description: The best friend. operationId: NewComePeople.GetBestFriend produces: - application/json @@ -1533,6 +1545,7 @@ paths: tags: - NewComePeople.Person summary: Get ref of BestFriend from NewComePeople + description: The best friend. operationId: NewComePeople.GetRefBestFriend produces: - application/json @@ -1555,6 +1568,7 @@ paths: tags: - NewComePeople.Person summary: Update the ref of navigation property BestFriend in NewComePeople + description: The best friend. operationId: NewComePeople.UpdateRefBestFriend consumes: - application/json @@ -1583,6 +1597,7 @@ paths: tags: - NewComePeople.Person summary: Delete ref of navigation property BestFriend for NewComePeople + description: The best friend. operationId: NewComePeople.DeleteRefBestFriend parameters: - in: path @@ -1890,6 +1905,7 @@ paths: tags: - NewComePeople.Actions summary: Invoke action ShareTrip + description: Details of the shared trip. operationId: NewComePeople.Person.ShareTrip consumes: - application/json @@ -1954,6 +1970,7 @@ paths: tags: - NewComePeople.Trip summary: Get Trips from NewComePeople + description: Collection of trips. operationId: NewComePeople.ListTrips produces: - application/json @@ -2035,6 +2052,7 @@ paths: tags: - NewComePeople.Trip summary: Create new navigation property to Trips for NewComePeople + description: Collection of trips. operationId: NewComePeople.CreateTrips consumes: - application/json @@ -2066,6 +2084,7 @@ paths: tags: - NewComePeople.Trip summary: Get Trips from NewComePeople + description: Collection of trips. operationId: NewComePeople.GetTrips produces: - application/json @@ -2122,6 +2141,7 @@ paths: tags: - NewComePeople.Trip summary: Update the navigation property Trips in NewComePeople + description: Collection of trips. operationId: NewComePeople.UpdateTrips consumes: - application/json @@ -2157,6 +2177,7 @@ paths: tags: - NewComePeople.Trip summary: Delete navigation property Trips for NewComePeople + description: Collection of trips. operationId: NewComePeople.DeleteTrips parameters: - in: path @@ -2619,6 +2640,7 @@ paths: tags: - People.Person summary: Get BestFriend from People + description: The best friend. operationId: People.GetBestFriend produces: - application/json @@ -2674,6 +2696,7 @@ paths: tags: - People.Person summary: Get ref of BestFriend from People + description: The best friend. operationId: People.GetRefBestFriend produces: - application/json @@ -2696,6 +2719,7 @@ paths: tags: - People.Person summary: Update the ref of navigation property BestFriend in People + description: The best friend. operationId: People.UpdateRefBestFriend consumes: - application/json @@ -2724,6 +2748,7 @@ paths: tags: - People.Person summary: Delete ref of navigation property BestFriend for People + description: The best friend. operationId: People.DeleteRefBestFriend parameters: - in: path @@ -3031,6 +3056,7 @@ paths: tags: - People.Actions summary: Invoke action ShareTrip + description: Details of the shared trip. operationId: People.Person.ShareTrip consumes: - application/json @@ -3095,6 +3121,7 @@ paths: tags: - People.Trip summary: Get Trips from People + description: Collection of trips. operationId: People.ListTrips produces: - application/json @@ -3176,6 +3203,7 @@ paths: tags: - People.Trip summary: Create new navigation property to Trips for People + description: Collection of trips. operationId: People.CreateTrips consumes: - application/json @@ -3207,6 +3235,7 @@ paths: tags: - People.Trip summary: Get Trips from People + description: Collection of trips. operationId: People.GetTrips produces: - application/json @@ -3263,6 +3292,7 @@ paths: tags: - People.Trip summary: Update the navigation property Trips in People + description: Collection of trips. operationId: People.UpdateTrips consumes: - application/json @@ -3298,6 +3328,7 @@ paths: tags: - People.Trip summary: Delete navigation property Trips for People + description: Collection of trips. operationId: People.DeleteTrips parameters: - in: path @@ -3545,6 +3576,7 @@ paths: tags: - ResetDataSource summary: Invoke actionImport ResetDataSource + description: Resets the data source to default values. operationId: ActionImport.ResetDataSource responses: '204': @@ -3592,6 +3624,7 @@ definitions: BestFriend: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' Trips: + description: Collection of trips. type: array items: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' 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 91c04df..b93bbcd 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json @@ -675,6 +675,7 @@ "People" ], "summary": "Invoke functionImport GetPersonWithMostFriends", + "description": "The person with most friends.", "operationId": "FunctionImport.GetPersonWithMostFriends", "responses": { "200": { @@ -809,6 +810,7 @@ "Me.Person" ], "summary": "Get BestFriend from Me", + "description": "The best friend.", "operationId": "Me.GetBestFriend", "parameters": [ { @@ -886,6 +888,7 @@ "Me.Person" ], "summary": "Get ref of BestFriend from Me", + "description": "The best friend.", "operationId": "Me.GetRefBestFriend", "responses": { "200": { @@ -909,6 +912,7 @@ "Me.Person" ], "summary": "Update the ref of navigation property BestFriend in Me", + "description": "The best friend.", "operationId": "Me.UpdateRefBestFriend", "requestBody": { "description": "New navigation property ref values", @@ -939,6 +943,7 @@ "Me.Person" ], "summary": "Delete ref of navigation property BestFriend for Me", + "description": "The best friend.", "operationId": "Me.DeleteRefBestFriend", "parameters": [ { @@ -1361,6 +1366,7 @@ "Me.Actions" ], "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", "operationId": "Me.ShareTrip", "requestBody": { "description": "Action parameters", @@ -1438,6 +1444,7 @@ "Me.Trip" ], "summary": "Get Trips from Me", + "description": "Collection of trips.", "operationId": "Me.ListTrips", "parameters": [ { @@ -1562,6 +1569,7 @@ "Me.Trip" ], "summary": "Create new navigation property to Trips for Me", + "description": "Collection of trips.", "operationId": "Me.CreateTrips", "requestBody": { "description": "New navigation property", @@ -1598,6 +1606,7 @@ "Me.Trip" ], "summary": "Get Trips from Me", + "description": "Collection of trips.", "operationId": "Me.GetTrips", "parameters": [ { @@ -1679,6 +1688,7 @@ "Me.Trip" ], "summary": "Update the navigation property Trips in Me", + "description": "Collection of trips.", "operationId": "Me.UpdateTrips", "parameters": [ { @@ -1721,6 +1731,7 @@ "Me.Trip" ], "summary": "Delete navigation property Trips for Me", + "description": "Collection of trips.", "operationId": "Me.DeleteTrips", "parameters": [ { @@ -2414,6 +2425,7 @@ "NewComePeople.Person" ], "summary": "Get BestFriend from NewComePeople", + "description": "The best friend.", "operationId": "NewComePeople.GetBestFriend", "parameters": [ { @@ -2501,6 +2513,7 @@ "NewComePeople.Person" ], "summary": "Get ref of BestFriend from NewComePeople", + "description": "The best friend.", "operationId": "NewComePeople.GetRefBestFriend", "parameters": [ { @@ -2536,6 +2549,7 @@ "NewComePeople.Person" ], "summary": "Update the ref of navigation property BestFriend in NewComePeople", + "description": "The best friend.", "operationId": "NewComePeople.UpdateRefBestFriend", "parameters": [ { @@ -2578,6 +2592,7 @@ "NewComePeople.Person" ], "summary": "Delete ref of navigation property BestFriend for NewComePeople", + "description": "The best friend.", "operationId": "NewComePeople.DeleteRefBestFriend", "parameters": [ { @@ -3076,6 +3091,7 @@ "NewComePeople.Actions" ], "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", "operationId": "NewComePeople.Person.ShareTrip", "parameters": [ { @@ -3175,6 +3191,7 @@ "NewComePeople.Trip" ], "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", "operationId": "NewComePeople.ListTrips", "parameters": [ { @@ -3309,6 +3326,7 @@ "NewComePeople.Trip" ], "summary": "Create new navigation property to Trips for NewComePeople", + "description": "Collection of trips.", "operationId": "NewComePeople.CreateTrips", "parameters": [ { @@ -3357,6 +3375,7 @@ "NewComePeople.Trip" ], "summary": "Get Trips from NewComePeople", + "description": "Collection of trips.", "operationId": "NewComePeople.GetTrips", "parameters": [ { @@ -3448,6 +3467,7 @@ "NewComePeople.Trip" ], "summary": "Update the navigation property Trips in NewComePeople", + "description": "Collection of trips.", "operationId": "NewComePeople.UpdateTrips", "parameters": [ { @@ -3500,6 +3520,7 @@ "NewComePeople.Trip" ], "summary": "Delete navigation property Trips for NewComePeople", + "description": "Collection of trips.", "operationId": "NewComePeople.DeleteTrips", "parameters": [ { @@ -4243,6 +4264,7 @@ "People.Person" ], "summary": "Get BestFriend from People", + "description": "The best friend.", "operationId": "People.GetBestFriend", "parameters": [ { @@ -4330,6 +4352,7 @@ "People.Person" ], "summary": "Get ref of BestFriend from People", + "description": "The best friend.", "operationId": "People.GetRefBestFriend", "parameters": [ { @@ -4365,6 +4388,7 @@ "People.Person" ], "summary": "Update the ref of navigation property BestFriend in People", + "description": "The best friend.", "operationId": "People.UpdateRefBestFriend", "parameters": [ { @@ -4407,6 +4431,7 @@ "People.Person" ], "summary": "Delete ref of navigation property BestFriend for People", + "description": "The best friend.", "operationId": "People.DeleteRefBestFriend", "parameters": [ { @@ -4905,6 +4930,7 @@ "People.Actions" ], "summary": "Invoke action ShareTrip", + "description": "Details of the shared trip.", "operationId": "People.Person.ShareTrip", "parameters": [ { @@ -5004,6 +5030,7 @@ "People.Trip" ], "summary": "Get Trips from People", + "description": "Collection of trips.", "operationId": "People.ListTrips", "parameters": [ { @@ -5138,6 +5165,7 @@ "People.Trip" ], "summary": "Create new navigation property to Trips for People", + "description": "Collection of trips.", "operationId": "People.CreateTrips", "parameters": [ { @@ -5186,6 +5214,7 @@ "People.Trip" ], "summary": "Get Trips from People", + "description": "Collection of trips.", "operationId": "People.GetTrips", "parameters": [ { @@ -5277,6 +5306,7 @@ "People.Trip" ], "summary": "Update the navigation property Trips in People", + "description": "Collection of trips.", "operationId": "People.UpdateTrips", "parameters": [ { @@ -5329,6 +5359,7 @@ "People.Trip" ], "summary": "Delete navigation property Trips for People", + "description": "Collection of trips.", "operationId": "People.DeleteTrips", "parameters": [ { @@ -5738,6 +5769,7 @@ "ResetDataSource" ], "summary": "Invoke actionImport ResetDataSource", + "description": "Resets the data source to default values.", "operationId": "ActionImport.ResetDataSource", "responses": { "204": { @@ -5845,13 +5877,15 @@ "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" } ], + "description": "The best friend.", "nullable": true }, "Trips": { "type": "array", "items": { "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" - } + }, + "description": "Collection of trips." } } }, 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 2d52ec6..2c882bd 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml @@ -438,6 +438,7 @@ paths: tags: - People summary: Invoke functionImport GetPersonWithMostFriends + description: The person with most friends. operationId: FunctionImport.GetPersonWithMostFriends responses: '200': @@ -531,6 +532,7 @@ paths: tags: - Me.Person summary: Get BestFriend from Me + description: The best friend. operationId: Me.GetBestFriend parameters: - name: $select @@ -588,6 +590,7 @@ paths: tags: - Me.Person summary: Get ref of BestFriend from Me + description: The best friend. operationId: Me.GetRefBestFriend responses: '200': @@ -603,6 +606,7 @@ paths: tags: - Me.Person summary: Update the ref of navigation property BestFriend in Me + description: The best friend. operationId: Me.UpdateRefBestFriend requestBody: description: New navigation property ref values @@ -623,6 +627,7 @@ paths: tags: - Me.Person summary: Delete ref of navigation property BestFriend for Me + description: The best friend. operationId: Me.DeleteRefBestFriend parameters: - name: If-Match @@ -907,6 +912,7 @@ paths: tags: - Me.Actions summary: Invoke action ShareTrip + description: Details of the shared trip. operationId: Me.ShareTrip requestBody: description: Action parameters @@ -958,6 +964,7 @@ paths: tags: - Me.Trip summary: Get Trips from Me + description: Collection of trips. operationId: Me.ListTrips parameters: - $ref: '#/components/parameters/top' @@ -1045,6 +1052,7 @@ paths: tags: - Me.Trip summary: Create new navigation property to Trips for Me + description: Collection of trips. operationId: Me.CreateTrips requestBody: description: New navigation property @@ -1068,6 +1076,7 @@ paths: tags: - Me.Trip summary: Get Trips from Me + description: Collection of trips. operationId: Me.GetTrips parameters: - name: TripId @@ -1127,6 +1136,7 @@ paths: tags: - Me.Trip summary: Update the navigation property Trips in Me + description: Collection of trips. operationId: Me.UpdateTrips parameters: - name: TripId @@ -1156,6 +1166,7 @@ paths: tags: - Me.Trip summary: Delete navigation property Trips for Me + description: Collection of trips. operationId: Me.DeleteTrips parameters: - name: TripId @@ -1632,6 +1643,7 @@ paths: tags: - NewComePeople.Person summary: Get BestFriend from NewComePeople + description: The best friend. operationId: NewComePeople.GetBestFriend parameters: - name: UserName @@ -1696,6 +1708,7 @@ paths: tags: - NewComePeople.Person summary: Get ref of BestFriend from NewComePeople + description: The best friend. operationId: NewComePeople.GetRefBestFriend parameters: - name: UserName @@ -1719,6 +1732,7 @@ paths: tags: - NewComePeople.Person summary: Update the ref of navigation property BestFriend in NewComePeople + description: The best friend. operationId: NewComePeople.UpdateRefBestFriend parameters: - name: UserName @@ -1747,6 +1761,7 @@ paths: tags: - NewComePeople.Person summary: Delete ref of navigation property BestFriend for NewComePeople + description: The best friend. operationId: NewComePeople.DeleteRefBestFriend parameters: - name: UserName @@ -2083,6 +2098,7 @@ paths: tags: - NewComePeople.Actions summary: Invoke action ShareTrip + description: Details of the shared trip. operationId: NewComePeople.Person.ShareTrip parameters: - name: UserName @@ -2149,6 +2165,7 @@ paths: tags: - NewComePeople.Trip summary: Get Trips from NewComePeople + description: Collection of trips. operationId: NewComePeople.ListTrips parameters: - name: UserName @@ -2243,6 +2260,7 @@ paths: tags: - NewComePeople.Trip summary: Create new navigation property to Trips for NewComePeople + description: Collection of trips. operationId: NewComePeople.CreateTrips parameters: - name: UserName @@ -2274,6 +2292,7 @@ paths: tags: - NewComePeople.Trip summary: Get Trips from NewComePeople + description: Collection of trips. operationId: NewComePeople.GetTrips parameters: - name: UserName @@ -2340,6 +2359,7 @@ paths: tags: - NewComePeople.Trip summary: Update the navigation property Trips in NewComePeople + description: Collection of trips. operationId: NewComePeople.UpdateTrips parameters: - name: UserName @@ -2376,6 +2396,7 @@ paths: tags: - NewComePeople.Trip summary: Delete navigation property Trips for NewComePeople + description: Collection of trips. operationId: NewComePeople.DeleteTrips parameters: - name: UserName @@ -2887,6 +2908,7 @@ paths: tags: - People.Person summary: Get BestFriend from People + description: The best friend. operationId: People.GetBestFriend parameters: - name: UserName @@ -2951,6 +2973,7 @@ paths: tags: - People.Person summary: Get ref of BestFriend from People + description: The best friend. operationId: People.GetRefBestFriend parameters: - name: UserName @@ -2974,6 +2997,7 @@ paths: tags: - People.Person summary: Update the ref of navigation property BestFriend in People + description: The best friend. operationId: People.UpdateRefBestFriend parameters: - name: UserName @@ -3002,6 +3026,7 @@ paths: tags: - People.Person summary: Delete ref of navigation property BestFriend for People + description: The best friend. operationId: People.DeleteRefBestFriend parameters: - name: UserName @@ -3338,6 +3363,7 @@ paths: tags: - People.Actions summary: Invoke action ShareTrip + description: Details of the shared trip. operationId: People.Person.ShareTrip parameters: - name: UserName @@ -3404,6 +3430,7 @@ paths: tags: - People.Trip summary: Get Trips from People + description: Collection of trips. operationId: People.ListTrips parameters: - name: UserName @@ -3498,6 +3525,7 @@ paths: tags: - People.Trip summary: Create new navigation property to Trips for People + description: Collection of trips. operationId: People.CreateTrips parameters: - name: UserName @@ -3529,6 +3557,7 @@ paths: tags: - People.Trip summary: Get Trips from People + description: Collection of trips. operationId: People.GetTrips parameters: - name: UserName @@ -3595,6 +3624,7 @@ paths: tags: - People.Trip summary: Update the navigation property Trips in People + description: Collection of trips. operationId: People.UpdateTrips parameters: - name: UserName @@ -3631,6 +3661,7 @@ paths: tags: - People.Trip summary: Delete navigation property Trips for People + description: Collection of trips. operationId: People.DeleteTrips parameters: - name: UserName @@ -3906,6 +3937,7 @@ paths: tags: - ResetDataSource summary: Invoke actionImport ResetDataSource + description: Resets the data source to default values. operationId: ActionImport.ResetDataSource responses: '204': @@ -3968,11 +4000,13 @@ components: BestFriend: anyOf: - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' + description: The best friend. nullable: true Trips: type: array items: $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' + description: Collection of trips. Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline: title: Airline type: object