Skip to content

Commit 35fbe36

Browse files
committed
add content_source enum override
1 parent ff69049 commit 35fbe36

File tree

5 files changed

+39
-4
lines changed

5 files changed

+39
-4
lines changed

.github/workflows/java-sdk.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Release Java SDK
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: "The version of the SDKs that you would like to release"
8+
required: true
9+
type: string
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout repo
16+
uses: actions/checkout@v3
17+
18+
- name: Setup node
19+
uses: actions/setup-node@v4
20+
21+
- name: Download Fern
22+
run: npm install -g fern-api
23+
24+
- name: Release SDKs
25+
env:
26+
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
27+
FERN_NPM_TOKEN: ${{ secrets.FERN_NPM_TOKEN }}
28+
run: |
29+
fern generate --group java-sdk --version ${{ inputs.version }} --log-level debug

fern/.preview/fern-java-sdk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit f480b1afc51d963805cbf43eff17288777cef21e

fern/fern.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"organization": "intercom",
3-
"version": "0.56.19"
3+
"version": "0.57.17"
44
}

fern/generators.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ groups:
4646
# username: ${MAVEN_USERNAME}
4747
# password: ${MAVEN_PASSWORD}
4848
github:
49-
repository: fern-demo/intercom-java-sdk
50-
branch: gettin-tests-to-work
51-
mode: push
49+
repository: intercom/intercom-java
50+
mode: pull-request
5251
config:
5352
enable-inline-types: true
5453
client-class-name: Intercom
5554
inline-path-parameters: true
55+
# enable-forward-compatible-enums: true

fern/openapi-overrides.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,6 +1388,11 @@ components:
13881388
format: uri
13891389
description: An image URL containing the avatar of a contact.
13901390
example: https://example.org/128Wash.jpg
1391+
content_source:
1392+
properties:
1393+
content_type:
1394+
enum:
1395+
- custom_answer
13911396
create_article_request:
13921397
properties:
13931398
parent_type:

0 commit comments

Comments
 (0)