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
2 changes: 1 addition & 1 deletion .github/workflows/preview-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: |
cd fern/apis/api/.preview/fern-typescript-node-sdk
cd fern/apis/api/.preview/fern-typescript-sdk
yarn install
yarn build

Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/release-php-sdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release PHP SDK

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

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

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

- name: Release PHP SDK
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: |
fern generate --group php-sdk --version ${{ inputs.version }} --log-level debug
25 changes: 25 additions & 0 deletions .github/workflows/release-swift-sdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release Swift SDK

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

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

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

- name: Release Swift SDK
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: |
fern generate --group swift-sdk --version ${{ inputs.version }} --log-level debug
60 changes: 41 additions & 19 deletions fern/apis/api/generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ groups:
client_class_name: Vapi
ts-sdk:
generators:
- name: fernapi/fern-typescript-node-sdk
- name: fernapi/fern-typescript-sdk
version: 2.10.1
api:
settings:
Expand All @@ -45,25 +45,26 @@ groups:
includeApiReference: true
noSerdeLayer: true
omitUndefined: true
enableInlineTypes: false
smart-casing: true
java-sdk:
generators:
- name: fernapi/fern-java-sdk
version: 2.43.3
disable-examples: true
output:
location: maven
coordinate: dev.vapi:server-sdk
username: ${MAVEN_USERNAME}
password: ${MAVEN_PASSWORD}
signature:
keyId: ${MAVEN_CENTRAL_SECRET_KEY_KEY_ID}
password: ${MAVEN_CENTRAL_SECRET_KEY_PASSWORD}
secretKey: ${MAVEN_CENTRAL_SECRET_KEY}
github:
repository: VapiAI/server-sdk-java
config:
client-class-name: Vapi
# java-sdk:
# generators:
# - name: fernapi/fern-java-sdk
# version: 2.43.3
# disable-examples: true
# output:
# location: maven
# coordinate: dev.vapi:server-sdk
# username: ${MAVEN_USERNAME}
# password: ${MAVEN_PASSWORD}
# signature:
# keyId: ${MAVEN_CENTRAL_SECRET_KEY_KEY_ID}
# password: ${MAVEN_CENTRAL_SECRET_KEY_PASSWORD}
# secretKey: ${MAVEN_CENTRAL_SECRET_KEY}
# github:
# repository: VapiAI/server-sdk-java
# config:
# client-class-name: Vapi
go-sdk:
generators:
- name: fernapi/fern-go-sdk
Expand Down Expand Up @@ -109,3 +110,24 @@ groups:
inline-path-parameters: false
simplify-object-dictionaries: true
use-discriminated-unions: false
php-sdk:
generators:
- name: fernapi/fern-php-sdk
version: 1.17.1
disable-examples: true
github:
repository: VapiAI/server-sdk-php
config:
namespace: Vapi
client-class-name: VapiClient
swift-sdk:
generators:
- name: fernapi/fern-swift-sdk
version: 0.18.0
disable-examples: true
github:
repository: VapiAI/server-sdk-swift
config:
clientClassName: VapiClient
moduleName: Vapi
environmentEnumName: VapiEnvironment
3 changes: 1 addition & 2 deletions fern/apis/api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,7 @@
"eq": "2",
"gt": "1"
}
},
"type": "object"
}
}
},
{
Expand Down
Loading