Skip to content

Commit a0f0f7a

Browse files
committed
fix example values for members and invites in Swagger document
1 parent 9657d71 commit a0f0f7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/swagger.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2099,7 +2099,7 @@ components:
20992099
items:
21002100
type: object
21012101
description: "The invites of the project"
2102-
example: [{"userIds": [40152855], "role": "copilot"}]
2102+
example: [{"createdAt": "2021-02-08T09:21:00.885Z", "createdBy": 40159127, "deletedBy": null, "email": null, "id": 3008, "projectId": 16819, "role": "customer", "status": "pending", "updatedAt": "2021-02-08T09:21:00.885Z", "updatedBy": 40159127, "userId": 40153913}]
21032103
members:
21042104
type: array
21052105
items:
@@ -2194,13 +2194,13 @@ components:
21942194
items:
21952195
type: object
21962196
description: "The invites of the project"
2197-
example: [{"userIds": [40152855], "role": "copilot"}]
2197+
example: [{"createdAt": "2021-02-08T09:21:00.885Z", "createdBy": 40159127, "deletedBy": null, "email": null, "id": 3008, "projectId": 16819, "role": "customer", "status": "pending", "updatedAt": "2021-02-08T09:21:00.885Z", "updatedBy": 40159127, "userId": 40153913}]
21982198
members:
21992199
type: array
22002200
items:
22012201
type: object
22022202
description: "The members of the project"
2203-
example: [{"lastName": "J", "role": "manager", "updatedBy": 8547899, "handle": "TonyJ", "userId": 8547899, "deletedBy": null, "createdAt": "2021-01-12T04:34:15.006Z", "firstName": "Tony", "createdBy": 8547899, "isPrimary": true, "id": 13819, "projectId": 16893, "email": "ajefts@topcoder.com", "updatedAt": "2021-01-12T04:34:15.018Z"}]
2203+
example: [{"lastName": "L_NAME", "role": "customer", "updatedBy": 21926562, "handle": "Tester123", "userId": 21926562, "deletedBy": null, "createdAt": "2021-01-12T10:58:26.237Z", "firstName": "F_NAME", "createdBy": 21926562, "isPrimary": false, "id": 13833, "projectId": 16893, "email": "email@domain.com.z", "updatedAt": "2021-01-12T10:58:26.237Z"}]
22042204
startDate:
22052205
type: string
22062206
format: date-time

0 commit comments

Comments
 (0)