Skip to content

Commit 5c1f76e

Browse files
Daisuke Moritamorrisson
andauthored
Fix incorrect required definition of manage-audience.yml (#28)
Found that some optional parameters are described as `required: true` so this commit fixes it. Co-authored-by: Daisuke Morita <daisuke.morita@linecorp.com>
1 parent 1cbcd90 commit 5c1f76e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

manage-audience.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ paths:
400400
description: "The page to return when getting (paginated) results. Must be 1 or higher."
401401
- name: description
402402
in: query
403-
required: true
403+
required: false
404404
schema:
405405
type: string
406406
description: |+
@@ -410,14 +410,14 @@ paths:
410410
If omitted, the name of the audience(s) will not be used as a search criterion.
411411
- name: status
412412
in: query
413-
required: true
413+
required: false
414414
schema:
415415
"$ref": "#/components/schemas/AudienceGroupStatus"
416416
description: |+
417417
The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion.
418418
- name: size
419419
in: query
420-
required: true
420+
required: false
421421
schema:
422422
type: integer
423423
format: int64
@@ -428,7 +428,7 @@ paths:
428428
Max: 40
429429
- name: includesExternalPublicGroups
430430
in: query
431-
required: true
431+
required: false
432432
schema:
433433
type: boolean
434434
example: true
@@ -437,7 +437,7 @@ paths:
437437
false: Get audiences created in the same channel.
438438
- name: createRoute
439439
in: query
440-
required: true
440+
required: false
441441
schema:
442442
"$ref": "#/components/schemas/AudienceGroupCreateRoute"
443443
description: |+

0 commit comments

Comments
 (0)