Update test OpenAPI output files.

This commit is contained in:
Irvine Sunday 2021-04-27 11:20:12 +03:00
parent 02188d079d
commit b68cc7e8cd
4 changed files with 135 additions and 1 deletions

View file

@ -571,6 +571,7 @@
"People" "People"
], ],
"summary": "Invoke functionImport GetPersonWithMostFriends", "summary": "Invoke functionImport GetPersonWithMostFriends",
"description": "The person with most friends.",
"operationId": "FunctionImport.GetPersonWithMostFriends", "operationId": "FunctionImport.GetPersonWithMostFriends",
"produces": [ "produces": [
"application/json" "application/json"
@ -691,6 +692,7 @@
"Me.Person" "Me.Person"
], ],
"summary": "Get BestFriend from Me", "summary": "Get BestFriend from Me",
"description": "The best friend.",
"operationId": "Me.GetBestFriend", "operationId": "Me.GetBestFriend",
"produces": [ "produces": [
"application/json" "application/json"
@ -757,6 +759,7 @@
"Me.Person" "Me.Person"
], ],
"summary": "Get ref of BestFriend from Me", "summary": "Get ref of BestFriend from Me",
"description": "The best friend.",
"operationId": "Me.GetRefBestFriend", "operationId": "Me.GetRefBestFriend",
"produces": [ "produces": [
"application/json" "application/json"
@ -779,6 +782,7 @@
"Me.Person" "Me.Person"
], ],
"summary": "Update the ref of navigation property BestFriend in Me", "summary": "Update the ref of navigation property BestFriend in Me",
"description": "The best friend.",
"operationId": "Me.UpdateRefBestFriend", "operationId": "Me.UpdateRefBestFriend",
"consumes": [ "consumes": [
"application/json" "application/json"
@ -812,6 +816,7 @@
"Me.Person" "Me.Person"
], ],
"summary": "Delete ref of navigation property BestFriend for Me", "summary": "Delete ref of navigation property BestFriend for Me",
"description": "The best friend.",
"operationId": "Me.DeleteRefBestFriend", "operationId": "Me.DeleteRefBestFriend",
"parameters": [ "parameters": [
{ {
@ -1195,6 +1200,7 @@
"Me.Actions" "Me.Actions"
], ],
"summary": "Invoke action ShareTrip", "summary": "Invoke action ShareTrip",
"description": "Details of the shared trip.",
"operationId": "Me.ShareTrip", "operationId": "Me.ShareTrip",
"consumes": [ "consumes": [
"application/json" "application/json"
@ -1272,6 +1278,7 @@
"Me.Trip" "Me.Trip"
], ],
"summary": "Get Trips from Me", "summary": "Get Trips from Me",
"description": "Collection of trips.",
"operationId": "Me.ListTrips", "operationId": "Me.ListTrips",
"produces": [ "produces": [
"application/json" "application/json"
@ -1380,6 +1387,7 @@
"Me.Trip" "Me.Trip"
], ],
"summary": "Create new navigation property to Trips for Me", "summary": "Create new navigation property to Trips for Me",
"description": "Collection of trips.",
"operationId": "Me.CreateTrips", "operationId": "Me.CreateTrips",
"consumes": [ "consumes": [
"application/json" "application/json"
@ -1418,6 +1426,7 @@
"Me.Trip" "Me.Trip"
], ],
"summary": "Get Trips from Me", "summary": "Get Trips from Me",
"description": "Collection of trips.",
"operationId": "Me.GetTrips", "operationId": "Me.GetTrips",
"produces": [ "produces": [
"application/json" "application/json"
@ -1486,6 +1495,7 @@
"Me.Trip" "Me.Trip"
], ],
"summary": "Update the navigation property Trips in Me", "summary": "Update the navigation property Trips in Me",
"description": "Collection of trips.",
"operationId": "Me.UpdateTrips", "operationId": "Me.UpdateTrips",
"consumes": [ "consumes": [
"application/json" "application/json"
@ -1527,6 +1537,7 @@
"Me.Trip" "Me.Trip"
], ],
"summary": "Delete navigation property Trips for Me", "summary": "Delete navigation property Trips for Me",
"description": "Collection of trips.",
"operationId": "Me.DeleteTrips", "operationId": "Me.DeleteTrips",
"parameters": [ "parameters": [
{ {
@ -2148,6 +2159,7 @@
"NewComePeople.Person" "NewComePeople.Person"
], ],
"summary": "Get BestFriend from NewComePeople", "summary": "Get BestFriend from NewComePeople",
"description": "The best friend.",
"operationId": "NewComePeople.GetBestFriend", "operationId": "NewComePeople.GetBestFriend",
"produces": [ "produces": [
"application/json" "application/json"
@ -2222,6 +2234,7 @@
"NewComePeople.Person" "NewComePeople.Person"
], ],
"summary": "Get ref of BestFriend from NewComePeople", "summary": "Get ref of BestFriend from NewComePeople",
"description": "The best friend.",
"operationId": "NewComePeople.GetRefBestFriend", "operationId": "NewComePeople.GetRefBestFriend",
"produces": [ "produces": [
"application/json" "application/json"
@ -2254,6 +2267,7 @@
"NewComePeople.Person" "NewComePeople.Person"
], ],
"summary": "Update the ref of navigation property BestFriend in NewComePeople", "summary": "Update the ref of navigation property BestFriend in NewComePeople",
"description": "The best friend.",
"operationId": "NewComePeople.UpdateRefBestFriend", "operationId": "NewComePeople.UpdateRefBestFriend",
"consumes": [ "consumes": [
"application/json" "application/json"
@ -2295,6 +2309,7 @@
"NewComePeople.Person" "NewComePeople.Person"
], ],
"summary": "Delete ref of navigation property BestFriend for NewComePeople", "summary": "Delete ref of navigation property BestFriend for NewComePeople",
"description": "The best friend.",
"operationId": "NewComePeople.DeleteRefBestFriend", "operationId": "NewComePeople.DeleteRefBestFriend",
"parameters": [ "parameters": [
{ {
@ -2736,6 +2751,7 @@
"NewComePeople.Actions" "NewComePeople.Actions"
], ],
"summary": "Invoke action ShareTrip", "summary": "Invoke action ShareTrip",
"description": "Details of the shared trip.",
"operationId": "NewComePeople.Person.ShareTrip", "operationId": "NewComePeople.Person.ShareTrip",
"consumes": [ "consumes": [
"application/json" "application/json"
@ -2829,6 +2845,7 @@
"NewComePeople.Trip" "NewComePeople.Trip"
], ],
"summary": "Get Trips from NewComePeople", "summary": "Get Trips from NewComePeople",
"description": "Collection of trips.",
"operationId": "NewComePeople.ListTrips", "operationId": "NewComePeople.ListTrips",
"produces": [ "produces": [
"application/json" "application/json"
@ -2945,6 +2962,7 @@
"NewComePeople.Trip" "NewComePeople.Trip"
], ],
"summary": "Create new navigation property to Trips for NewComePeople", "summary": "Create new navigation property to Trips for NewComePeople",
"description": "Collection of trips.",
"operationId": "NewComePeople.CreateTrips", "operationId": "NewComePeople.CreateTrips",
"consumes": [ "consumes": [
"application/json" "application/json"
@ -2991,6 +3009,7 @@
"NewComePeople.Trip" "NewComePeople.Trip"
], ],
"summary": "Get Trips from NewComePeople", "summary": "Get Trips from NewComePeople",
"description": "Collection of trips.",
"operationId": "NewComePeople.GetTrips", "operationId": "NewComePeople.GetTrips",
"produces": [ "produces": [
"application/json" "application/json"
@ -3067,6 +3086,7 @@
"NewComePeople.Trip" "NewComePeople.Trip"
], ],
"summary": "Update the navigation property Trips in NewComePeople", "summary": "Update the navigation property Trips in NewComePeople",
"description": "Collection of trips.",
"operationId": "NewComePeople.UpdateTrips", "operationId": "NewComePeople.UpdateTrips",
"consumes": [ "consumes": [
"application/json" "application/json"
@ -3116,6 +3136,7 @@
"NewComePeople.Trip" "NewComePeople.Trip"
], ],
"summary": "Delete navigation property Trips for NewComePeople", "summary": "Delete navigation property Trips for NewComePeople",
"description": "Collection of trips.",
"operationId": "NewComePeople.DeleteTrips", "operationId": "NewComePeople.DeleteTrips",
"parameters": [ "parameters": [
{ {
@ -3777,6 +3798,7 @@
"People.Person" "People.Person"
], ],
"summary": "Get BestFriend from People", "summary": "Get BestFriend from People",
"description": "The best friend.",
"operationId": "People.GetBestFriend", "operationId": "People.GetBestFriend",
"produces": [ "produces": [
"application/json" "application/json"
@ -3851,6 +3873,7 @@
"People.Person" "People.Person"
], ],
"summary": "Get ref of BestFriend from People", "summary": "Get ref of BestFriend from People",
"description": "The best friend.",
"operationId": "People.GetRefBestFriend", "operationId": "People.GetRefBestFriend",
"produces": [ "produces": [
"application/json" "application/json"
@ -3883,6 +3906,7 @@
"People.Person" "People.Person"
], ],
"summary": "Update the ref of navigation property BestFriend in People", "summary": "Update the ref of navigation property BestFriend in People",
"description": "The best friend.",
"operationId": "People.UpdateRefBestFriend", "operationId": "People.UpdateRefBestFriend",
"consumes": [ "consumes": [
"application/json" "application/json"
@ -3924,6 +3948,7 @@
"People.Person" "People.Person"
], ],
"summary": "Delete ref of navigation property BestFriend for People", "summary": "Delete ref of navigation property BestFriend for People",
"description": "The best friend.",
"operationId": "People.DeleteRefBestFriend", "operationId": "People.DeleteRefBestFriend",
"parameters": [ "parameters": [
{ {
@ -4365,6 +4390,7 @@
"People.Actions" "People.Actions"
], ],
"summary": "Invoke action ShareTrip", "summary": "Invoke action ShareTrip",
"description": "Details of the shared trip.",
"operationId": "People.Person.ShareTrip", "operationId": "People.Person.ShareTrip",
"consumes": [ "consumes": [
"application/json" "application/json"
@ -4458,6 +4484,7 @@
"People.Trip" "People.Trip"
], ],
"summary": "Get Trips from People", "summary": "Get Trips from People",
"description": "Collection of trips.",
"operationId": "People.ListTrips", "operationId": "People.ListTrips",
"produces": [ "produces": [
"application/json" "application/json"
@ -4574,6 +4601,7 @@
"People.Trip" "People.Trip"
], ],
"summary": "Create new navigation property to Trips for People", "summary": "Create new navigation property to Trips for People",
"description": "Collection of trips.",
"operationId": "People.CreateTrips", "operationId": "People.CreateTrips",
"consumes": [ "consumes": [
"application/json" "application/json"
@ -4620,6 +4648,7 @@
"People.Trip" "People.Trip"
], ],
"summary": "Get Trips from People", "summary": "Get Trips from People",
"description": "Collection of trips.",
"operationId": "People.GetTrips", "operationId": "People.GetTrips",
"produces": [ "produces": [
"application/json" "application/json"
@ -4696,6 +4725,7 @@
"People.Trip" "People.Trip"
], ],
"summary": "Update the navigation property Trips in People", "summary": "Update the navigation property Trips in People",
"description": "Collection of trips.",
"operationId": "People.UpdateTrips", "operationId": "People.UpdateTrips",
"consumes": [ "consumes": [
"application/json" "application/json"
@ -4745,6 +4775,7 @@
"People.Trip" "People.Trip"
], ],
"summary": "Delete navigation property Trips for People", "summary": "Delete navigation property Trips for People",
"description": "Collection of trips.",
"operationId": "People.DeleteTrips", "operationId": "People.DeleteTrips",
"parameters": [ "parameters": [
{ {
@ -5104,6 +5135,7 @@
"ResetDataSource" "ResetDataSource"
], ],
"summary": "Invoke actionImport ResetDataSource", "summary": "Invoke actionImport ResetDataSource",
"description": "Resets the data source to default values.",
"operationId": "ActionImport.ResetDataSource", "operationId": "ActionImport.ResetDataSource",
"responses": { "responses": {
"204": { "204": {
@ -5174,6 +5206,7 @@
"$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person"
}, },
"Trips": { "Trips": {
"description": "Collection of trips.",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip"

View file

@ -380,6 +380,7 @@ paths:
tags: tags:
- People - People
summary: Invoke functionImport GetPersonWithMostFriends summary: Invoke functionImport GetPersonWithMostFriends
description: The person with most friends.
operationId: FunctionImport.GetPersonWithMostFriends operationId: FunctionImport.GetPersonWithMostFriends
produces: produces:
- application/json - application/json
@ -465,6 +466,7 @@ paths:
tags: tags:
- Me.Person - Me.Person
summary: Get BestFriend from Me summary: Get BestFriend from Me
description: The best friend.
operationId: Me.GetBestFriend operationId: Me.GetBestFriend
produces: produces:
- application/json - application/json
@ -514,6 +516,7 @@ paths:
tags: tags:
- Me.Person - Me.Person
summary: Get ref of BestFriend from Me summary: Get ref of BestFriend from Me
description: The best friend.
operationId: Me.GetRefBestFriend operationId: Me.GetRefBestFriend
produces: produces:
- application/json - application/json
@ -529,6 +532,7 @@ paths:
tags: tags:
- Me.Person - Me.Person
summary: Update the ref of navigation property BestFriend in Me summary: Update the ref of navigation property BestFriend in Me
description: The best friend.
operationId: Me.UpdateRefBestFriend operationId: Me.UpdateRefBestFriend
consumes: consumes:
- application/json - application/json
@ -551,6 +555,7 @@ paths:
tags: tags:
- Me.Person - Me.Person
summary: Delete ref of navigation property BestFriend for Me summary: Delete ref of navigation property BestFriend for Me
description: The best friend.
operationId: Me.DeleteRefBestFriend operationId: Me.DeleteRefBestFriend
parameters: parameters:
- in: header - in: header
@ -815,6 +820,7 @@ paths:
tags: tags:
- Me.Actions - Me.Actions
summary: Invoke action ShareTrip summary: Invoke action ShareTrip
description: Details of the shared trip.
operationId: Me.ShareTrip operationId: Me.ShareTrip
consumes: consumes:
- application/json - application/json
@ -867,6 +873,7 @@ paths:
tags: tags:
- Me.Trip - Me.Trip
summary: Get Trips from Me summary: Get Trips from Me
description: Collection of trips.
operationId: Me.ListTrips operationId: Me.ListTrips
produces: produces:
- application/json - application/json
@ -942,6 +949,7 @@ paths:
tags: tags:
- Me.Trip - Me.Trip
summary: Create new navigation property to Trips for Me summary: Create new navigation property to Trips for Me
description: Collection of trips.
operationId: Me.CreateTrips operationId: Me.CreateTrips
consumes: consumes:
- application/json - application/json
@ -967,6 +975,7 @@ paths:
tags: tags:
- Me.Trip - Me.Trip
summary: Get Trips from Me summary: Get Trips from Me
description: Collection of trips.
operationId: Me.GetTrips operationId: Me.GetTrips
produces: produces:
- application/json - application/json
@ -1017,6 +1026,7 @@ paths:
tags: tags:
- Me.Trip - Me.Trip
summary: Update the navigation property Trips in Me summary: Update the navigation property Trips in Me
description: Collection of trips.
operationId: Me.UpdateTrips operationId: Me.UpdateTrips
consumes: consumes:
- application/json - application/json
@ -1046,6 +1056,7 @@ paths:
tags: tags:
- Me.Trip - Me.Trip
summary: Delete navigation property Trips for Me summary: Delete navigation property Trips for Me
description: Collection of trips.
operationId: Me.DeleteTrips operationId: Me.DeleteTrips
parameters: parameters:
- in: path - in: path
@ -1478,6 +1489,7 @@ paths:
tags: tags:
- NewComePeople.Person - NewComePeople.Person
summary: Get BestFriend from NewComePeople summary: Get BestFriend from NewComePeople
description: The best friend.
operationId: NewComePeople.GetBestFriend operationId: NewComePeople.GetBestFriend
produces: produces:
- application/json - application/json
@ -1533,6 +1545,7 @@ paths:
tags: tags:
- NewComePeople.Person - NewComePeople.Person
summary: Get ref of BestFriend from NewComePeople summary: Get ref of BestFriend from NewComePeople
description: The best friend.
operationId: NewComePeople.GetRefBestFriend operationId: NewComePeople.GetRefBestFriend
produces: produces:
- application/json - application/json
@ -1555,6 +1568,7 @@ paths:
tags: tags:
- NewComePeople.Person - NewComePeople.Person
summary: Update the ref of navigation property BestFriend in NewComePeople summary: Update the ref of navigation property BestFriend in NewComePeople
description: The best friend.
operationId: NewComePeople.UpdateRefBestFriend operationId: NewComePeople.UpdateRefBestFriend
consumes: consumes:
- application/json - application/json
@ -1583,6 +1597,7 @@ paths:
tags: tags:
- NewComePeople.Person - NewComePeople.Person
summary: Delete ref of navigation property BestFriend for NewComePeople summary: Delete ref of navigation property BestFriend for NewComePeople
description: The best friend.
operationId: NewComePeople.DeleteRefBestFriend operationId: NewComePeople.DeleteRefBestFriend
parameters: parameters:
- in: path - in: path
@ -1890,6 +1905,7 @@ paths:
tags: tags:
- NewComePeople.Actions - NewComePeople.Actions
summary: Invoke action ShareTrip summary: Invoke action ShareTrip
description: Details of the shared trip.
operationId: NewComePeople.Person.ShareTrip operationId: NewComePeople.Person.ShareTrip
consumes: consumes:
- application/json - application/json
@ -1954,6 +1970,7 @@ paths:
tags: tags:
- NewComePeople.Trip - NewComePeople.Trip
summary: Get Trips from NewComePeople summary: Get Trips from NewComePeople
description: Collection of trips.
operationId: NewComePeople.ListTrips operationId: NewComePeople.ListTrips
produces: produces:
- application/json - application/json
@ -2035,6 +2052,7 @@ paths:
tags: tags:
- NewComePeople.Trip - NewComePeople.Trip
summary: Create new navigation property to Trips for NewComePeople summary: Create new navigation property to Trips for NewComePeople
description: Collection of trips.
operationId: NewComePeople.CreateTrips operationId: NewComePeople.CreateTrips
consumes: consumes:
- application/json - application/json
@ -2066,6 +2084,7 @@ paths:
tags: tags:
- NewComePeople.Trip - NewComePeople.Trip
summary: Get Trips from NewComePeople summary: Get Trips from NewComePeople
description: Collection of trips.
operationId: NewComePeople.GetTrips operationId: NewComePeople.GetTrips
produces: produces:
- application/json - application/json
@ -2122,6 +2141,7 @@ paths:
tags: tags:
- NewComePeople.Trip - NewComePeople.Trip
summary: Update the navigation property Trips in NewComePeople summary: Update the navigation property Trips in NewComePeople
description: Collection of trips.
operationId: NewComePeople.UpdateTrips operationId: NewComePeople.UpdateTrips
consumes: consumes:
- application/json - application/json
@ -2157,6 +2177,7 @@ paths:
tags: tags:
- NewComePeople.Trip - NewComePeople.Trip
summary: Delete navigation property Trips for NewComePeople summary: Delete navigation property Trips for NewComePeople
description: Collection of trips.
operationId: NewComePeople.DeleteTrips operationId: NewComePeople.DeleteTrips
parameters: parameters:
- in: path - in: path
@ -2619,6 +2640,7 @@ paths:
tags: tags:
- People.Person - People.Person
summary: Get BestFriend from People summary: Get BestFriend from People
description: The best friend.
operationId: People.GetBestFriend operationId: People.GetBestFriend
produces: produces:
- application/json - application/json
@ -2674,6 +2696,7 @@ paths:
tags: tags:
- People.Person - People.Person
summary: Get ref of BestFriend from People summary: Get ref of BestFriend from People
description: The best friend.
operationId: People.GetRefBestFriend operationId: People.GetRefBestFriend
produces: produces:
- application/json - application/json
@ -2696,6 +2719,7 @@ paths:
tags: tags:
- People.Person - People.Person
summary: Update the ref of navigation property BestFriend in People summary: Update the ref of navigation property BestFriend in People
description: The best friend.
operationId: People.UpdateRefBestFriend operationId: People.UpdateRefBestFriend
consumes: consumes:
- application/json - application/json
@ -2724,6 +2748,7 @@ paths:
tags: tags:
- People.Person - People.Person
summary: Delete ref of navigation property BestFriend for People summary: Delete ref of navigation property BestFriend for People
description: The best friend.
operationId: People.DeleteRefBestFriend operationId: People.DeleteRefBestFriend
parameters: parameters:
- in: path - in: path
@ -3031,6 +3056,7 @@ paths:
tags: tags:
- People.Actions - People.Actions
summary: Invoke action ShareTrip summary: Invoke action ShareTrip
description: Details of the shared trip.
operationId: People.Person.ShareTrip operationId: People.Person.ShareTrip
consumes: consumes:
- application/json - application/json
@ -3095,6 +3121,7 @@ paths:
tags: tags:
- People.Trip - People.Trip
summary: Get Trips from People summary: Get Trips from People
description: Collection of trips.
operationId: People.ListTrips operationId: People.ListTrips
produces: produces:
- application/json - application/json
@ -3176,6 +3203,7 @@ paths:
tags: tags:
- People.Trip - People.Trip
summary: Create new navigation property to Trips for People summary: Create new navigation property to Trips for People
description: Collection of trips.
operationId: People.CreateTrips operationId: People.CreateTrips
consumes: consumes:
- application/json - application/json
@ -3207,6 +3235,7 @@ paths:
tags: tags:
- People.Trip - People.Trip
summary: Get Trips from People summary: Get Trips from People
description: Collection of trips.
operationId: People.GetTrips operationId: People.GetTrips
produces: produces:
- application/json - application/json
@ -3263,6 +3292,7 @@ paths:
tags: tags:
- People.Trip - People.Trip
summary: Update the navigation property Trips in People summary: Update the navigation property Trips in People
description: Collection of trips.
operationId: People.UpdateTrips operationId: People.UpdateTrips
consumes: consumes:
- application/json - application/json
@ -3298,6 +3328,7 @@ paths:
tags: tags:
- People.Trip - People.Trip
summary: Delete navigation property Trips for People summary: Delete navigation property Trips for People
description: Collection of trips.
operationId: People.DeleteTrips operationId: People.DeleteTrips
parameters: parameters:
- in: path - in: path
@ -3545,6 +3576,7 @@ paths:
tags: tags:
- ResetDataSource - ResetDataSource
summary: Invoke actionImport ResetDataSource summary: Invoke actionImport ResetDataSource
description: Resets the data source to default values.
operationId: ActionImport.ResetDataSource operationId: ActionImport.ResetDataSource
responses: responses:
'204': '204':
@ -3592,6 +3624,7 @@ definitions:
BestFriend: BestFriend:
$ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person'
Trips: Trips:
description: Collection of trips.
type: array type: array
items: items:
$ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip'

View file

@ -675,6 +675,7 @@
"People" "People"
], ],
"summary": "Invoke functionImport GetPersonWithMostFriends", "summary": "Invoke functionImport GetPersonWithMostFriends",
"description": "The person with most friends.",
"operationId": "FunctionImport.GetPersonWithMostFriends", "operationId": "FunctionImport.GetPersonWithMostFriends",
"responses": { "responses": {
"200": { "200": {
@ -809,6 +810,7 @@
"Me.Person" "Me.Person"
], ],
"summary": "Get BestFriend from Me", "summary": "Get BestFriend from Me",
"description": "The best friend.",
"operationId": "Me.GetBestFriend", "operationId": "Me.GetBestFriend",
"parameters": [ "parameters": [
{ {
@ -886,6 +888,7 @@
"Me.Person" "Me.Person"
], ],
"summary": "Get ref of BestFriend from Me", "summary": "Get ref of BestFriend from Me",
"description": "The best friend.",
"operationId": "Me.GetRefBestFriend", "operationId": "Me.GetRefBestFriend",
"responses": { "responses": {
"200": { "200": {
@ -909,6 +912,7 @@
"Me.Person" "Me.Person"
], ],
"summary": "Update the ref of navigation property BestFriend in Me", "summary": "Update the ref of navigation property BestFriend in Me",
"description": "The best friend.",
"operationId": "Me.UpdateRefBestFriend", "operationId": "Me.UpdateRefBestFriend",
"requestBody": { "requestBody": {
"description": "New navigation property ref values", "description": "New navigation property ref values",
@ -939,6 +943,7 @@
"Me.Person" "Me.Person"
], ],
"summary": "Delete ref of navigation property BestFriend for Me", "summary": "Delete ref of navigation property BestFriend for Me",
"description": "The best friend.",
"operationId": "Me.DeleteRefBestFriend", "operationId": "Me.DeleteRefBestFriend",
"parameters": [ "parameters": [
{ {
@ -1361,6 +1366,7 @@
"Me.Actions" "Me.Actions"
], ],
"summary": "Invoke action ShareTrip", "summary": "Invoke action ShareTrip",
"description": "Details of the shared trip.",
"operationId": "Me.ShareTrip", "operationId": "Me.ShareTrip",
"requestBody": { "requestBody": {
"description": "Action parameters", "description": "Action parameters",
@ -1438,6 +1444,7 @@
"Me.Trip" "Me.Trip"
], ],
"summary": "Get Trips from Me", "summary": "Get Trips from Me",
"description": "Collection of trips.",
"operationId": "Me.ListTrips", "operationId": "Me.ListTrips",
"parameters": [ "parameters": [
{ {
@ -1562,6 +1569,7 @@
"Me.Trip" "Me.Trip"
], ],
"summary": "Create new navigation property to Trips for Me", "summary": "Create new navigation property to Trips for Me",
"description": "Collection of trips.",
"operationId": "Me.CreateTrips", "operationId": "Me.CreateTrips",
"requestBody": { "requestBody": {
"description": "New navigation property", "description": "New navigation property",
@ -1598,6 +1606,7 @@
"Me.Trip" "Me.Trip"
], ],
"summary": "Get Trips from Me", "summary": "Get Trips from Me",
"description": "Collection of trips.",
"operationId": "Me.GetTrips", "operationId": "Me.GetTrips",
"parameters": [ "parameters": [
{ {
@ -1679,6 +1688,7 @@
"Me.Trip" "Me.Trip"
], ],
"summary": "Update the navigation property Trips in Me", "summary": "Update the navigation property Trips in Me",
"description": "Collection of trips.",
"operationId": "Me.UpdateTrips", "operationId": "Me.UpdateTrips",
"parameters": [ "parameters": [
{ {
@ -1721,6 +1731,7 @@
"Me.Trip" "Me.Trip"
], ],
"summary": "Delete navigation property Trips for Me", "summary": "Delete navigation property Trips for Me",
"description": "Collection of trips.",
"operationId": "Me.DeleteTrips", "operationId": "Me.DeleteTrips",
"parameters": [ "parameters": [
{ {
@ -2414,6 +2425,7 @@
"NewComePeople.Person" "NewComePeople.Person"
], ],
"summary": "Get BestFriend from NewComePeople", "summary": "Get BestFriend from NewComePeople",
"description": "The best friend.",
"operationId": "NewComePeople.GetBestFriend", "operationId": "NewComePeople.GetBestFriend",
"parameters": [ "parameters": [
{ {
@ -2501,6 +2513,7 @@
"NewComePeople.Person" "NewComePeople.Person"
], ],
"summary": "Get ref of BestFriend from NewComePeople", "summary": "Get ref of BestFriend from NewComePeople",
"description": "The best friend.",
"operationId": "NewComePeople.GetRefBestFriend", "operationId": "NewComePeople.GetRefBestFriend",
"parameters": [ "parameters": [
{ {
@ -2536,6 +2549,7 @@
"NewComePeople.Person" "NewComePeople.Person"
], ],
"summary": "Update the ref of navigation property BestFriend in NewComePeople", "summary": "Update the ref of navigation property BestFriend in NewComePeople",
"description": "The best friend.",
"operationId": "NewComePeople.UpdateRefBestFriend", "operationId": "NewComePeople.UpdateRefBestFriend",
"parameters": [ "parameters": [
{ {
@ -2578,6 +2592,7 @@
"NewComePeople.Person" "NewComePeople.Person"
], ],
"summary": "Delete ref of navigation property BestFriend for NewComePeople", "summary": "Delete ref of navigation property BestFriend for NewComePeople",
"description": "The best friend.",
"operationId": "NewComePeople.DeleteRefBestFriend", "operationId": "NewComePeople.DeleteRefBestFriend",
"parameters": [ "parameters": [
{ {
@ -3076,6 +3091,7 @@
"NewComePeople.Actions" "NewComePeople.Actions"
], ],
"summary": "Invoke action ShareTrip", "summary": "Invoke action ShareTrip",
"description": "Details of the shared trip.",
"operationId": "NewComePeople.Person.ShareTrip", "operationId": "NewComePeople.Person.ShareTrip",
"parameters": [ "parameters": [
{ {
@ -3175,6 +3191,7 @@
"NewComePeople.Trip" "NewComePeople.Trip"
], ],
"summary": "Get Trips from NewComePeople", "summary": "Get Trips from NewComePeople",
"description": "Collection of trips.",
"operationId": "NewComePeople.ListTrips", "operationId": "NewComePeople.ListTrips",
"parameters": [ "parameters": [
{ {
@ -3309,6 +3326,7 @@
"NewComePeople.Trip" "NewComePeople.Trip"
], ],
"summary": "Create new navigation property to Trips for NewComePeople", "summary": "Create new navigation property to Trips for NewComePeople",
"description": "Collection of trips.",
"operationId": "NewComePeople.CreateTrips", "operationId": "NewComePeople.CreateTrips",
"parameters": [ "parameters": [
{ {
@ -3357,6 +3375,7 @@
"NewComePeople.Trip" "NewComePeople.Trip"
], ],
"summary": "Get Trips from NewComePeople", "summary": "Get Trips from NewComePeople",
"description": "Collection of trips.",
"operationId": "NewComePeople.GetTrips", "operationId": "NewComePeople.GetTrips",
"parameters": [ "parameters": [
{ {
@ -3448,6 +3467,7 @@
"NewComePeople.Trip" "NewComePeople.Trip"
], ],
"summary": "Update the navigation property Trips in NewComePeople", "summary": "Update the navigation property Trips in NewComePeople",
"description": "Collection of trips.",
"operationId": "NewComePeople.UpdateTrips", "operationId": "NewComePeople.UpdateTrips",
"parameters": [ "parameters": [
{ {
@ -3500,6 +3520,7 @@
"NewComePeople.Trip" "NewComePeople.Trip"
], ],
"summary": "Delete navigation property Trips for NewComePeople", "summary": "Delete navigation property Trips for NewComePeople",
"description": "Collection of trips.",
"operationId": "NewComePeople.DeleteTrips", "operationId": "NewComePeople.DeleteTrips",
"parameters": [ "parameters": [
{ {
@ -4243,6 +4264,7 @@
"People.Person" "People.Person"
], ],
"summary": "Get BestFriend from People", "summary": "Get BestFriend from People",
"description": "The best friend.",
"operationId": "People.GetBestFriend", "operationId": "People.GetBestFriend",
"parameters": [ "parameters": [
{ {
@ -4330,6 +4352,7 @@
"People.Person" "People.Person"
], ],
"summary": "Get ref of BestFriend from People", "summary": "Get ref of BestFriend from People",
"description": "The best friend.",
"operationId": "People.GetRefBestFriend", "operationId": "People.GetRefBestFriend",
"parameters": [ "parameters": [
{ {
@ -4365,6 +4388,7 @@
"People.Person" "People.Person"
], ],
"summary": "Update the ref of navigation property BestFriend in People", "summary": "Update the ref of navigation property BestFriend in People",
"description": "The best friend.",
"operationId": "People.UpdateRefBestFriend", "operationId": "People.UpdateRefBestFriend",
"parameters": [ "parameters": [
{ {
@ -4407,6 +4431,7 @@
"People.Person" "People.Person"
], ],
"summary": "Delete ref of navigation property BestFriend for People", "summary": "Delete ref of navigation property BestFriend for People",
"description": "The best friend.",
"operationId": "People.DeleteRefBestFriend", "operationId": "People.DeleteRefBestFriend",
"parameters": [ "parameters": [
{ {
@ -4905,6 +4930,7 @@
"People.Actions" "People.Actions"
], ],
"summary": "Invoke action ShareTrip", "summary": "Invoke action ShareTrip",
"description": "Details of the shared trip.",
"operationId": "People.Person.ShareTrip", "operationId": "People.Person.ShareTrip",
"parameters": [ "parameters": [
{ {
@ -5004,6 +5030,7 @@
"People.Trip" "People.Trip"
], ],
"summary": "Get Trips from People", "summary": "Get Trips from People",
"description": "Collection of trips.",
"operationId": "People.ListTrips", "operationId": "People.ListTrips",
"parameters": [ "parameters": [
{ {
@ -5138,6 +5165,7 @@
"People.Trip" "People.Trip"
], ],
"summary": "Create new navigation property to Trips for People", "summary": "Create new navigation property to Trips for People",
"description": "Collection of trips.",
"operationId": "People.CreateTrips", "operationId": "People.CreateTrips",
"parameters": [ "parameters": [
{ {
@ -5186,6 +5214,7 @@
"People.Trip" "People.Trip"
], ],
"summary": "Get Trips from People", "summary": "Get Trips from People",
"description": "Collection of trips.",
"operationId": "People.GetTrips", "operationId": "People.GetTrips",
"parameters": [ "parameters": [
{ {
@ -5277,6 +5306,7 @@
"People.Trip" "People.Trip"
], ],
"summary": "Update the navigation property Trips in People", "summary": "Update the navigation property Trips in People",
"description": "Collection of trips.",
"operationId": "People.UpdateTrips", "operationId": "People.UpdateTrips",
"parameters": [ "parameters": [
{ {
@ -5329,6 +5359,7 @@
"People.Trip" "People.Trip"
], ],
"summary": "Delete navigation property Trips for People", "summary": "Delete navigation property Trips for People",
"description": "Collection of trips.",
"operationId": "People.DeleteTrips", "operationId": "People.DeleteTrips",
"parameters": [ "parameters": [
{ {
@ -5738,6 +5769,7 @@
"ResetDataSource" "ResetDataSource"
], ],
"summary": "Invoke actionImport ResetDataSource", "summary": "Invoke actionImport ResetDataSource",
"description": "Resets the data source to default values.",
"operationId": "ActionImport.ResetDataSource", "operationId": "ActionImport.ResetDataSource",
"responses": { "responses": {
"204": { "204": {
@ -5845,13 +5877,15 @@
"$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person" "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person"
} }
], ],
"description": "The best friend.",
"nullable": true "nullable": true
}, },
"Trips": { "Trips": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip" "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip"
} },
"description": "Collection of trips."
} }
} }
}, },

View file

@ -438,6 +438,7 @@ paths:
tags: tags:
- People - People
summary: Invoke functionImport GetPersonWithMostFriends summary: Invoke functionImport GetPersonWithMostFriends
description: The person with most friends.
operationId: FunctionImport.GetPersonWithMostFriends operationId: FunctionImport.GetPersonWithMostFriends
responses: responses:
'200': '200':
@ -531,6 +532,7 @@ paths:
tags: tags:
- Me.Person - Me.Person
summary: Get BestFriend from Me summary: Get BestFriend from Me
description: The best friend.
operationId: Me.GetBestFriend operationId: Me.GetBestFriend
parameters: parameters:
- name: $select - name: $select
@ -588,6 +590,7 @@ paths:
tags: tags:
- Me.Person - Me.Person
summary: Get ref of BestFriend from Me summary: Get ref of BestFriend from Me
description: The best friend.
operationId: Me.GetRefBestFriend operationId: Me.GetRefBestFriend
responses: responses:
'200': '200':
@ -603,6 +606,7 @@ paths:
tags: tags:
- Me.Person - Me.Person
summary: Update the ref of navigation property BestFriend in Me summary: Update the ref of navigation property BestFriend in Me
description: The best friend.
operationId: Me.UpdateRefBestFriend operationId: Me.UpdateRefBestFriend
requestBody: requestBody:
description: New navigation property ref values description: New navigation property ref values
@ -623,6 +627,7 @@ paths:
tags: tags:
- Me.Person - Me.Person
summary: Delete ref of navigation property BestFriend for Me summary: Delete ref of navigation property BestFriend for Me
description: The best friend.
operationId: Me.DeleteRefBestFriend operationId: Me.DeleteRefBestFriend
parameters: parameters:
- name: If-Match - name: If-Match
@ -907,6 +912,7 @@ paths:
tags: tags:
- Me.Actions - Me.Actions
summary: Invoke action ShareTrip summary: Invoke action ShareTrip
description: Details of the shared trip.
operationId: Me.ShareTrip operationId: Me.ShareTrip
requestBody: requestBody:
description: Action parameters description: Action parameters
@ -958,6 +964,7 @@ paths:
tags: tags:
- Me.Trip - Me.Trip
summary: Get Trips from Me summary: Get Trips from Me
description: Collection of trips.
operationId: Me.ListTrips operationId: Me.ListTrips
parameters: parameters:
- $ref: '#/components/parameters/top' - $ref: '#/components/parameters/top'
@ -1045,6 +1052,7 @@ paths:
tags: tags:
- Me.Trip - Me.Trip
summary: Create new navigation property to Trips for Me summary: Create new navigation property to Trips for Me
description: Collection of trips.
operationId: Me.CreateTrips operationId: Me.CreateTrips
requestBody: requestBody:
description: New navigation property description: New navigation property
@ -1068,6 +1076,7 @@ paths:
tags: tags:
- Me.Trip - Me.Trip
summary: Get Trips from Me summary: Get Trips from Me
description: Collection of trips.
operationId: Me.GetTrips operationId: Me.GetTrips
parameters: parameters:
- name: TripId - name: TripId
@ -1127,6 +1136,7 @@ paths:
tags: tags:
- Me.Trip - Me.Trip
summary: Update the navigation property Trips in Me summary: Update the navigation property Trips in Me
description: Collection of trips.
operationId: Me.UpdateTrips operationId: Me.UpdateTrips
parameters: parameters:
- name: TripId - name: TripId
@ -1156,6 +1166,7 @@ paths:
tags: tags:
- Me.Trip - Me.Trip
summary: Delete navigation property Trips for Me summary: Delete navigation property Trips for Me
description: Collection of trips.
operationId: Me.DeleteTrips operationId: Me.DeleteTrips
parameters: parameters:
- name: TripId - name: TripId
@ -1632,6 +1643,7 @@ paths:
tags: tags:
- NewComePeople.Person - NewComePeople.Person
summary: Get BestFriend from NewComePeople summary: Get BestFriend from NewComePeople
description: The best friend.
operationId: NewComePeople.GetBestFriend operationId: NewComePeople.GetBestFriend
parameters: parameters:
- name: UserName - name: UserName
@ -1696,6 +1708,7 @@ paths:
tags: tags:
- NewComePeople.Person - NewComePeople.Person
summary: Get ref of BestFriend from NewComePeople summary: Get ref of BestFriend from NewComePeople
description: The best friend.
operationId: NewComePeople.GetRefBestFriend operationId: NewComePeople.GetRefBestFriend
parameters: parameters:
- name: UserName - name: UserName
@ -1719,6 +1732,7 @@ paths:
tags: tags:
- NewComePeople.Person - NewComePeople.Person
summary: Update the ref of navigation property BestFriend in NewComePeople summary: Update the ref of navigation property BestFriend in NewComePeople
description: The best friend.
operationId: NewComePeople.UpdateRefBestFriend operationId: NewComePeople.UpdateRefBestFriend
parameters: parameters:
- name: UserName - name: UserName
@ -1747,6 +1761,7 @@ paths:
tags: tags:
- NewComePeople.Person - NewComePeople.Person
summary: Delete ref of navigation property BestFriend for NewComePeople summary: Delete ref of navigation property BestFriend for NewComePeople
description: The best friend.
operationId: NewComePeople.DeleteRefBestFriend operationId: NewComePeople.DeleteRefBestFriend
parameters: parameters:
- name: UserName - name: UserName
@ -2083,6 +2098,7 @@ paths:
tags: tags:
- NewComePeople.Actions - NewComePeople.Actions
summary: Invoke action ShareTrip summary: Invoke action ShareTrip
description: Details of the shared trip.
operationId: NewComePeople.Person.ShareTrip operationId: NewComePeople.Person.ShareTrip
parameters: parameters:
- name: UserName - name: UserName
@ -2149,6 +2165,7 @@ paths:
tags: tags:
- NewComePeople.Trip - NewComePeople.Trip
summary: Get Trips from NewComePeople summary: Get Trips from NewComePeople
description: Collection of trips.
operationId: NewComePeople.ListTrips operationId: NewComePeople.ListTrips
parameters: parameters:
- name: UserName - name: UserName
@ -2243,6 +2260,7 @@ paths:
tags: tags:
- NewComePeople.Trip - NewComePeople.Trip
summary: Create new navigation property to Trips for NewComePeople summary: Create new navigation property to Trips for NewComePeople
description: Collection of trips.
operationId: NewComePeople.CreateTrips operationId: NewComePeople.CreateTrips
parameters: parameters:
- name: UserName - name: UserName
@ -2274,6 +2292,7 @@ paths:
tags: tags:
- NewComePeople.Trip - NewComePeople.Trip
summary: Get Trips from NewComePeople summary: Get Trips from NewComePeople
description: Collection of trips.
operationId: NewComePeople.GetTrips operationId: NewComePeople.GetTrips
parameters: parameters:
- name: UserName - name: UserName
@ -2340,6 +2359,7 @@ paths:
tags: tags:
- NewComePeople.Trip - NewComePeople.Trip
summary: Update the navigation property Trips in NewComePeople summary: Update the navigation property Trips in NewComePeople
description: Collection of trips.
operationId: NewComePeople.UpdateTrips operationId: NewComePeople.UpdateTrips
parameters: parameters:
- name: UserName - name: UserName
@ -2376,6 +2396,7 @@ paths:
tags: tags:
- NewComePeople.Trip - NewComePeople.Trip
summary: Delete navigation property Trips for NewComePeople summary: Delete navigation property Trips for NewComePeople
description: Collection of trips.
operationId: NewComePeople.DeleteTrips operationId: NewComePeople.DeleteTrips
parameters: parameters:
- name: UserName - name: UserName
@ -2887,6 +2908,7 @@ paths:
tags: tags:
- People.Person - People.Person
summary: Get BestFriend from People summary: Get BestFriend from People
description: The best friend.
operationId: People.GetBestFriend operationId: People.GetBestFriend
parameters: parameters:
- name: UserName - name: UserName
@ -2951,6 +2973,7 @@ paths:
tags: tags:
- People.Person - People.Person
summary: Get ref of BestFriend from People summary: Get ref of BestFriend from People
description: The best friend.
operationId: People.GetRefBestFriend operationId: People.GetRefBestFriend
parameters: parameters:
- name: UserName - name: UserName
@ -2974,6 +2997,7 @@ paths:
tags: tags:
- People.Person - People.Person
summary: Update the ref of navigation property BestFriend in People summary: Update the ref of navigation property BestFriend in People
description: The best friend.
operationId: People.UpdateRefBestFriend operationId: People.UpdateRefBestFriend
parameters: parameters:
- name: UserName - name: UserName
@ -3002,6 +3026,7 @@ paths:
tags: tags:
- People.Person - People.Person
summary: Delete ref of navigation property BestFriend for People summary: Delete ref of navigation property BestFriend for People
description: The best friend.
operationId: People.DeleteRefBestFriend operationId: People.DeleteRefBestFriend
parameters: parameters:
- name: UserName - name: UserName
@ -3338,6 +3363,7 @@ paths:
tags: tags:
- People.Actions - People.Actions
summary: Invoke action ShareTrip summary: Invoke action ShareTrip
description: Details of the shared trip.
operationId: People.Person.ShareTrip operationId: People.Person.ShareTrip
parameters: parameters:
- name: UserName - name: UserName
@ -3404,6 +3430,7 @@ paths:
tags: tags:
- People.Trip - People.Trip
summary: Get Trips from People summary: Get Trips from People
description: Collection of trips.
operationId: People.ListTrips operationId: People.ListTrips
parameters: parameters:
- name: UserName - name: UserName
@ -3498,6 +3525,7 @@ paths:
tags: tags:
- People.Trip - People.Trip
summary: Create new navigation property to Trips for People summary: Create new navigation property to Trips for People
description: Collection of trips.
operationId: People.CreateTrips operationId: People.CreateTrips
parameters: parameters:
- name: UserName - name: UserName
@ -3529,6 +3557,7 @@ paths:
tags: tags:
- People.Trip - People.Trip
summary: Get Trips from People summary: Get Trips from People
description: Collection of trips.
operationId: People.GetTrips operationId: People.GetTrips
parameters: parameters:
- name: UserName - name: UserName
@ -3595,6 +3624,7 @@ paths:
tags: tags:
- People.Trip - People.Trip
summary: Update the navigation property Trips in People summary: Update the navigation property Trips in People
description: Collection of trips.
operationId: People.UpdateTrips operationId: People.UpdateTrips
parameters: parameters:
- name: UserName - name: UserName
@ -3631,6 +3661,7 @@ paths:
tags: tags:
- People.Trip - People.Trip
summary: Delete navigation property Trips for People summary: Delete navigation property Trips for People
description: Collection of trips.
operationId: People.DeleteTrips operationId: People.DeleteTrips
parameters: parameters:
- name: UserName - name: UserName
@ -3906,6 +3937,7 @@ paths:
tags: tags:
- ResetDataSource - ResetDataSource
summary: Invoke actionImport ResetDataSource summary: Invoke actionImport ResetDataSource
description: Resets the data source to default values.
operationId: ActionImport.ResetDataSource operationId: ActionImport.ResetDataSource
responses: responses:
'204': '204':
@ -3968,11 +4000,13 @@ components:
BestFriend: BestFriend:
anyOf: anyOf:
- $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person' - $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Person'
description: The best friend.
nullable: true nullable: true
Trips: Trips:
type: array type: array
items: items:
$ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip' $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip'
description: Collection of trips.
Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline: Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airline:
title: Airline title: Airline
type: object type: object