Skip to content

Commit 11a1c7c

Browse files
pagination changes (#229)
1 parent 2f0ed75 commit 11a1c7c

File tree

2 files changed

+52
-6
lines changed

2 files changed

+52
-6
lines changed

fern/fern.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"organization": "intercom",
3-
"version": "0.53.17"
4-
}
3+
"version": "0.56.19"
4+
}

fern/openapi-overrides.yml

Lines changed: 50 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,10 +1383,11 @@ components:
13831383
enum:
13841384
- contact
13851385
avatar:
1386-
properties:
1387-
type:
1388-
enum:
1389-
- avatar
1386+
properties: null
1387+
type: string
1388+
format: uri
1389+
description: An image URL containing the avatar of a contact.
1390+
example: https://example.org/128Wash.jpg
13901391
create_article_request:
13911392
properties:
13921393
parent_type:
@@ -1465,6 +1466,51 @@ components:
14651466
custom_attributes:
14661467
additionalProperties: true
14671468

1469+
# adding offset pages
1470+
offset_pages:
1471+
title: Offset based pages
1472+
type: object
1473+
properties:
1474+
type:
1475+
type: string
1476+
description: the type of object `offset_pages`
1477+
example: offset_pages
1478+
enum:
1479+
- offset_pages
1480+
page:
1481+
type: integer
1482+
description: The current offset
1483+
example: 1
1484+
next:
1485+
type: string
1486+
nullable: true
1487+
per_page:
1488+
type: integer
1489+
description: Number of results per page
1490+
example: 2
1491+
total_pages:
1492+
type: integer
1493+
description: Total number of pages
1494+
example: 13
1495+
required:
1496+
- type
1497+
collection_list:
1498+
properties:
1499+
pages:
1500+
"$ref": "#/components/schemas/offset_pages"
1501+
article_list:
1502+
properties:
1503+
pages:
1504+
"$ref": "#components/schemas/offset_pages"
1505+
company_list:
1506+
properties:
1507+
pages:
1508+
"$ref": "#/components/schemas/offset_pages"
1509+
note_list:
1510+
properties:
1511+
pages:
1512+
"$ref": "#/components/schemas/offset_pages"
1513+
14681514
securitySchemes:
14691515
bearerAuth:
14701516
x-fern-bearer:

0 commit comments

Comments
 (0)