Skip to content

Commit 86f6102

Browse files
authored
Merge pull request #90 from messagemedia/contacts_updates2
Update Contact Custom Field wrong doc
2 parents 9c4d8a4 + aad1a2c commit 86f6102

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

spec/openapi.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5042,6 +5042,7 @@ paths:
50425042
schema:
50435043
type: string
50445044
format: uuid
5045+
example: '3fa85f64-5717-4562-b3fc-2c963f66afa6'
50455046
responses:
50465047
'200':
50475048
description: Returns a single contact
@@ -5299,6 +5300,7 @@ paths:
52995300
schema:
53005301
type: string
53015302
format: uuid
5303+
example: 025e93d3-051b-43f9-b12e-4b5842228dee
53025304
responses:
53035305
'204':
53045306
description: Contact list is deleted
@@ -5338,7 +5340,7 @@ paths:
53385340
schema:
53395341
type: string
53405342
format: uuid
5341-
example: 025e93d3-051b-43f9-b12e-4b5842228dee
5343+
example: 025e93d3-051b-43f9-b12e-4b5842228dee
53425344
requestBody:
53435345
content:
53445346
application/json:
@@ -5389,7 +5391,7 @@ paths:
53895391
schema:
53905392
type: string
53915393
format: uuid
5392-
example: 025e93d3-051b-43f9-b12e-4b5842228dee
5394+
example: 025e93d3-051b-43f9-b12e-4b5842228dee
53935395
requestBody:
53945396
content:
53955397
application/json:
@@ -5438,15 +5440,15 @@ paths:
54385440
schema:
54395441
type: string
54405442
format: uuid
5441-
example: 025e93d3-051b-43f9-b12e-4b5842228dee
5443+
example: 025e93d3-051b-43f9-b12e-4b5842228dee
54425444
- name: contactId
54435445
in: path
54445446
description: Contact id to remove in UUID format
54455447
required: true
54465448
schema:
54475449
type: string
54485450
format: uuid
5449-
example: 4a03d2d8-1f85-463f-bdb4-2891c17258a7
5451+
example: 4a03d2d8-1f85-463f-bdb4-2891c17258a7
54505452
responses:
54515453
'200':
54525454
description: Contacts have been added
@@ -5494,15 +5496,15 @@ paths:
54945496
schema:
54955497
type: string
54965498
format: uuid
5497-
example: 025e93d3-051b-43f9-b12e-4b5842228dee
5499+
example: 025e93d3-051b-43f9-b12e-4b5842228dee
54985500
- name: contactId
54995501
in: path
55005502
description: Contact id to add in UUID format
55015503
required: true
55025504
schema:
55035505
type: string
55045506
format: uuid
5505-
example: 4a03d2d8-1f85-463f-bdb4-2891c17258a7
5507+
example: 4a03d2d8-1f85-463f-bdb4-2891c17258a7
55065508
responses:
55075509
'204':
55085510
description: No Content
@@ -10133,7 +10135,7 @@ components:
1013310135
type: array
1013410136
description: Contact custom fields
1013510137
items:
10136-
$ref: '#/components/schemas/UpdateCustomFieldRequest'
10138+
$ref: '#/components/schemas/CreateCustomFieldRequest'
1013710139
description: Contact update payload
1013810140
GetListsRequest:
1013910141
type: object
@@ -10241,6 +10243,7 @@ components:
1024110243
items:
1024210244
type: string
1024310245
format: uuid
10246+
example: 025e93d3-051b-43f9-b12e-4b5842228dee
1024410247
contactIds:
1024510248
type: array
1024610249
items:

0 commit comments

Comments
 (0)