Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/java-sdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release Java SDK

on:
workflow_dispatch:
inputs:
version:
description: "The version of the SDKs that you would like to release"
required: true
type: string

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Setup node
uses: actions/setup-node@v4

- name: Download Fern
run: npm install -g fern-api

- name: Release SDKs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
run: |
fern generate --group java-sdk --version ${{ inputs.version }} --log-level debug
2 changes: 1 addition & 1 deletion fern/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization": "intercom",
"version": "0.56.19"
"version": "0.57.17"
}
18 changes: 9 additions & 9 deletions fern/generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ groups:
java-sdk:
generators:
- name: fernapi/fern-java-sdk
version: 2.25.0
# output:
# location: maven
# coordinate: com.square:square-java
# username: ${MAVEN_USERNAME}
# password: ${MAVEN_PASSWORD}
version: 2.32.4
output:
location: maven
coordinate: io.intercom:intercom-java
username: ${MAVEN_USERNAME}
password: ${MAVEN_PASSWORD}
github:
repository: fern-demo/intercom-java-sdk
branch: gettin-tests-to-work
mode: push
repository: intercom/intercom-java
mode: pull-request
config:
enable-inline-types: true
client-class-name: Intercom
inline-path-parameters: true
# enable-forward-compatible-enums: true
5 changes: 5 additions & 0 deletions fern/openapi-overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1388,6 +1388,11 @@ components:
format: uri
description: An image URL containing the avatar of a contact.
example: https://example.org/128Wash.jpg
content_source:
properties:
content_type:
enum:
- custom_answer
create_article_request:
properties:
parent_type:
Expand Down