Skip to content

Commit 3e3617e

Browse files
committed
upgrade generators and run previews
1 parent 2acc7ff commit 3e3617e

File tree

2 files changed

+65
-17
lines changed

2 files changed

+65
-17
lines changed

.github/workflows/preview-sdks.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,62 @@ jobs:
9898
cd fern/apis/api/.preview/fern-go-sdk
9999
go mod tidy
100100
go build ./...
101+
102+
103+
preview-csharp:
104+
runs-on: ubuntu-latest
105+
steps:
106+
- name: Checkout repo
107+
uses: actions/checkout@v4
108+
109+
- name: Setup node
110+
uses: actions/setup-node@v3
111+
112+
- name: Download Fern
113+
run: npm install -g fern-api
114+
115+
- name: Preview C# SDK
116+
env:
117+
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
118+
run: |
119+
fern generate --api api --group csharp-sdk --preview --log-level debug
120+
121+
- name: Set up .NET
122+
uses: actions/setup-dotnet@v3
123+
with:
124+
dotnet-version: '8.0.x'
125+
126+
- name: Compile
127+
run: |
128+
cd fern/apis/api/.preview/fern-csharp-sdk
129+
dotnet restore
130+
dotnet build
131+
132+
preview-java:
133+
runs-on: ubuntu-latest
134+
steps:
135+
- name: Checkout repo
136+
uses: actions/checkout@v4
137+
138+
- name: Setup node
139+
uses: actions/setup-node@v3
140+
141+
- name: Download Fern
142+
run: npm install -g fern-api
143+
144+
- name: Preview Java SDK
145+
env:
146+
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
147+
run: |
148+
fern generate --api api --group java-sdk --preview --log-level debug
149+
150+
- name: Set up Java
151+
uses: actions/setup-java@v3
152+
with:
153+
distribution: 'temurin'
154+
java-version: '17'
155+
156+
- name: Compile
157+
run: |
158+
cd fern/apis/api/.preview/fern-java-sdk
159+
./gradlew build

fern/apis/api/generators.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ groups:
1111
python-sdk:
1212
generators:
1313
- name: fernapi/fern-python-sdk
14-
version: 4.21.4
14+
version: 4.22.0
1515
api:
1616
settings:
1717
unions: v1
@@ -28,7 +28,7 @@ groups:
2828
ts-sdk:
2929
generators:
3030
- name: fernapi/fern-typescript-node-sdk
31-
version: 0.51.3
31+
version: 1.8.1
3232
api:
3333
settings:
3434
unions: v1
@@ -40,17 +40,11 @@ groups:
4040
repository: VapiAI/server-sdk-typescript
4141
config:
4242
namespaceExport: Vapi
43-
allowCustomFetcher: true
44-
skipResponseValidation: true
45-
includeApiReference: true
46-
noSerdeLayer: true
47-
omitUndefined: true
4843
smart-casing: true
4944
java-sdk:
5045
generators:
5146
- name: fernapi/fern-java-sdk
52-
version: 2.37.0
53-
disable-examples: true
47+
version: 2.37.2
5448
output:
5549
location: maven
5650
coordinate: dev.vapi:server-sdk
@@ -63,20 +57,16 @@ groups:
6357
go-sdk:
6458
generators:
6559
- name: fernapi/fern-go-sdk
66-
version: 0.37.4
67-
disable-examples: true
60+
version: 1.2.0
6861
api:
6962
settings:
7063
unions: v1
7164
github:
7265
repository: VapiAI/server-sdk-go
73-
config:
74-
union: v1
7566
ruby-sdk:
7667
generators:
7768
- name: fernapi/fern-ruby-sdk
78-
version: 0.9.0-rc2
79-
disable-examples: true
69+
version: 0.8.2
8070
github:
8171
repository: VapiAI/server-sdk-ruby
8272
output:
@@ -88,8 +78,7 @@ groups:
8878
csharp-sdk:
8979
generators:
9080
- name: fernapi/fern-csharp-sdk
91-
version: 1.18.0
92-
disable-examples: true
81+
version: 2.0.0
9382
github:
9483
repository: VapiAI/server-sdk-csharp
9584
output:

0 commit comments

Comments
 (0)