Skip to content

Commit

Permalink
Spec fix for MultipleFilterSearchRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
eyw520 committed Feb 3, 2025
1 parent 4568a55 commit 58be10d
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions descriptions/2.11/api.intercom.io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15670,6 +15670,11 @@ components:
- body
- message_type
- conversation_id
multiple_or_single_filter_search_request:
title: Multiple or Single Filter Search Request
oneOf:
- "$ref": "#/components/schemas/multiple_filter_search_request"
- "$ref": "#/components/schemas/single_filter_search_request"
multiple_filter_search_request:
title: Multiple Filter Search Request
description: Search using Intercoms Search APIs with more than one filter.
Expand All @@ -15683,17 +15688,9 @@ components:
description: An operator to allow boolean inspection between multiple fields.
example: AND
value:
oneOf:
- type: array
description: Add mutiple filters.
title: multiple filter search request
items:
"$ref": "#/components/schemas/multiple_filter_search_request"
- type: array
description: Add a single filter field.
title: single filter search request
items:
"$ref": "#/components/schemas/single_filter_search_request"
type: array
items:
"$ref": "#/components/schemas/multiple_or_single_filter_search_request"
news_item:
title: News Item
type: object
Expand Down

0 comments on commit 58be10d

Please sign in to comment.