Skip to content

Commit 3e3ed62

Browse files
committed
Generate unstable SDK alongside v2.11
1 parent f6aa883 commit 3e3ed62

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

fern/generators.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ api:
55
settings:
66
title-as-schema-name: false
77
inline-path-parameters: true
8+
- openapi: ../descriptions/0/api.intercom.io.yaml
9+
overrides: ./unstable-openapi-overrides.yml
10+
namespace: unstable
11+
settings:
12+
title-as-schema-name: false
13+
inline-path-parameters: true
814
groups:
915
ts-sdk:
1016
generators:
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
paths:
2+
'/articles':
3+
post:
4+
requestBody:
5+
content:
6+
application/json:
7+
schema:
8+
$ref: '#/components/schemas/CreateArticleRequestBody'
9+
'/companies':
10+
post:
11+
requestBody:
12+
content:
13+
application/json:
14+
schema:
15+
$ref: '#/components/schemas/CreateOrUpdateCompanyRequestBody'
16+
'/phone_call_redirects':
17+
post:
18+
requestBody:
19+
content:
20+
application/json:
21+
schema:
22+
$ref: '#/components/schemas/CreatePhoneSwitchRequestBody'
23+
'/ticket_types':
24+
post:
25+
requestBody:
26+
content:
27+
application/json:
28+
schema:
29+
$ref: '#/components/schemas/CreateTicketTypeRequestBody'
30+
'/messages/status':
31+
get:
32+
responses:
33+
'500':
34+
content:
35+
application/json:
36+
examples: null
37+
38+
components:
39+
schemas:
40+
custom_attributes:
41+
example:
42+
monthly_spend: '155.5'
43+
create_ticket_request:
44+
x-fern-type-name: CreateTicketRequestBody
45+
reply_conversation_request:
46+
x-fern-type-name: ReplyConversationRequestBody
47+
update_article_request:
48+
x-fern-type-name: UpdateArticleRequestBody
49+
update_ticket_type_request:
50+
x-fern-type-name: UpdateTicketTypeRequestBody
51+
single_filter_search_request:
52+
properties:
53+
operator:
54+
enum:
55+
- '='
56+
- '!='
57+
- IN
58+
- NIN
59+
- '<'
60+
- '>'

0 commit comments

Comments
 (0)