Skip to content

Commit e823b42

Browse files
patrickthorntonpatrickthornton
authored andcommitted
decrease error count for java-sdk
tests now compile; # of failed tests 30 -> 10, by including correct offset paging when relevant and modifying some tests to match the current spec (see PR in fern-demo)
1 parent 2f0ed75 commit e823b42

File tree

2 files changed

+47
-2
lines changed

2 files changed

+47
-2
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: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,6 +1465,51 @@ components:
14651465
custom_attributes:
14661466
additionalProperties: true
14671467

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

0 commit comments

Comments
 (0)