Skip to content

Commit bf47250

Browse files
dsinghviajgatenofern-supporthughhan1eyw520
authored
chore(cli): misc improvements to the readme migrator (#6612)
* fix(cli): misc improvements to the readme migrator * misc fixes * fix * feat(java): Generate snippet.json (#6601) * feat(java): Generate snippet.json * generate fixtures * Revert print options to false * Add changelog * chore: update changelog * chore: update changelog --------- Co-authored-by: fern-support <[email protected]> * fix(python): Replace src.fern_python imports with fern_python imports (#6608) * fix(java): Fix pagination in raw clients (#6609) * fix(java): Fix pagination in raw clients * Add changelog entry * chore: update changelog * Run fixtures * Make changelog patch --------- Co-authored-by: fern-support <[email protected]> * fix(cli): Correctly build undiscriminated enum & string unions (#6610) * fix(cli): Correctly build undiscriminated enum & string unions * Feature flag behind 'respect-forward-compatible-enums' flag * chore: update changelog * fix * update tests * fix(csharp): Fallback init to set (#6613) * fix(csharp): Fallback init to set * fix(cli): Improve parameter parsing for v3 AsyncAPI specs (#6616) * fix(cli): Improve parameter parsing for v3 AsyncAPI specs * chore: update changelog * fix * chore: update changelog --------- Co-authored-by: Alberto Gateño <[email protected]> Co-authored-by: fern-support <[email protected]> Co-authored-by: Hugh Han <[email protected]> Co-authored-by: eden wang <[email protected]> Co-authored-by: Niels Swimberghe <[email protected]>
1 parent 7e78344 commit bf47250

File tree

24 files changed

+210
-189
lines changed

24 files changed

+210
-189
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## 1.4.8
2+
**`(internal):`** Update the IR to v57.
3+
4+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 0.17.7
2+
**`(internal):`** Upgrade to IRv55.
3+

packages/cli/cli/src/commands/validate/validateWorkspaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export async function validateWorkspaces({
3737

3838
await Promise.all(
3939
project.apiWorkspaces.map(async (workspace) => {
40-
if (workspace.generatorsConfiguration?.groups.length === 0) {
40+
if (workspace.generatorsConfiguration?.groups.length === 0 && workspace.type != "fern") {
4141
return;
4242
}
4343

packages/cli/docs-importers/commons/src/FernDocsBuilderImpl.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,9 @@ export class FernDocsBuilderImpl extends FernDocsBuilder {
165165

166166
await writeFile(
167167
join(absolutePathToFernDirectory, RelativeFilePath.of(DOCS_CONFIGURATION_FILENAME)),
168-
yaml.dump(docsYml.RawSchemas.Serializer.DocsConfiguration.jsonOrThrow(this.docsYml))
168+
yaml.dump(
169+
docsYml.RawSchemas.Serializer.DocsConfiguration.jsonOrThrow(this.docsYml, { omitUndefined: true })
170+
)
169171
);
170172

171173
await Promise.all(

packages/cli/docs-importers/mintlify/src/__test__/outputs/bland/fern/docs.yml

Lines changed: 0 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ favicon: logo.png
55
logo:
66
light: logo/light.svg
77
dark: logo/dark.svg
8-
href: null
98
height: 28
109
colors:
1110
accent-primary:
1211
dark: '#0b0a18'
1312
light: '#847AF9'
1413
background:
1514
dark: '#0A141B'
16-
light: null
1715
layout:
1816
searchbar-placement: header
1917
page-width: full
@@ -31,289 +29,206 @@ navigation:
3129
- section: Basic
3230
contents:
3331
- page: Send Call (Simple)
34-
icon: null
3532
path: api-v1/post/calls-simple.mdx
3633
- page: Send Call using Pathways (Simple)
37-
icon: null
3834
path: api-v1/post/calls-simple-pathway.mdx
3935
- section: Calls
4036
contents:
4137
- page: Send Call
42-
icon: null
4338
path: api-v1/post/calls.mdx
4439
- page: Analyze Call with AI
45-
icon: null
4640
path: api-v1/post/calls-id-analyze.mdx
4741
- page: Stop Active Call
48-
icon: null
4942
path: api-v1/post/calls-id-stop.mdx
5043
- page: List Calls
51-
icon: null
5244
path: api-v1/get/calls.mdx
5345
- page: Call Details
54-
icon: null
5546
path: api-v1/get/calls-id.mdx
5647
- page: Audio Recording
57-
icon: null
5848
path: api-v1/get/calls-id-recording.mdx
5949
- page: Get corrected transcripts
60-
icon: null
6150
path: api-v1/get/calls-corrected-transcript.mdx
6251
- section: Web Agents
6352
contents:
6453
- page: Create a Web Agent
65-
icon: null
6654
path: api-v1/post/agents.mdx
6755
- page: Update Web Agent Settings
68-
icon: null
6956
path: api-v1/post/agents-id.mdx
7057
- page: Authorize a Web Agent Call
71-
icon: null
7258
path: api-v1/post/agents-id-authorize.mdx
7359
- page: Delete Web Agent
74-
icon: null
7560
path: api-v1/post/agents-id-delete.mdx
7661
- page: List Web Agents
77-
icon: null
7862
path: api-v1/get/agents.mdx
7963
- section: Inbound Numbers
8064
contents:
8165
- page: Purchase Inbound number
82-
icon: null
8366
path: api-v1/post/inbound-purchase.mdx
8467
- page: Update Inbound Details
85-
icon: null
8668
path: api-v1/post/inbound-number-update.mdx
8769
- page: List Inbound Numbers
88-
icon: null
8970
path: api-v1/get/inbound.mdx
9071
- page: Inbound Number Details
91-
icon: null
9272
path: api-v1/get/inbound-number.mdx
9373
- section: Outbound Numbers
9474
contents:
9575
- page: Purchase Outbound number
96-
icon: null
9776
path: api-v1/post/outbound-purchase.mdx
9877
- page: List Outbound Numbers
99-
icon: null
10078
path: api-v1/get/outbound.mdx
10179
- section: Voices
10280
contents:
10381
- page: List Voices
104-
icon: null
10582
path: api-v1/get/voices.mdx
10683
- page: Voice Details
107-
icon: null
10884
path: api-v1/get/voices-id.mdx
10985
- page: Generate Audio Sample
110-
icon: null
11186
path: api-v1/post/voices-id-sample.mdx
11287
- section: Custom Tools
11388
contents:
11489
- page: Create a Custom Tool
115-
icon: null
11690
path: api-v1/post/tools.mdx
11791
- page: Update Custom Tool
118-
icon: null
11992
path: api-v1/post/tools-tool-id.mdx
12093
- page: List Custom Tools
121-
icon: null
12294
path: api-v1/get/tools.mdx
12395
- page: Custom Tool Details
124-
icon: null
12596
path: api-v1/get/tools-tool-id.mdx
12697
- section: Custom Twilio Accounts
12798
contents:
12899
- page: Create Encrypted Key
129-
icon: null
130100
path: api-v1/post/accounts.mdx
131101
- page: Delete Encrypted Key
132-
icon: null
133102
path: api-v1/post/accounts-delete.mdx
134103
- page: Upload Inbound Phone Numbers
135-
icon: null
136104
path: api-v1/post/inbound-insert.mdx
137105
- page: Delete Inbound Phone Number
138-
icon: null
139106
path: api-v1/post/inbound-number-delete.mdx
140107
- section: Subaccounts
141108
contents:
142109
- page: Create Subaccount
143-
icon: null
144110
path: api-v1/post/subaccounts.mdx
145111
- page: Transfer Credit to a Subaccount
146-
icon: null
147112
path: api-v1/post/subaccounts-id-transfer.mdx
148113
- page: Rotate Subaccount API Key
149-
icon: null
150114
path: api-v1/post/subaccounts-id-rotate.mdx
151115
- page: Disable Subaccount
152-
icon: null
153116
path: api-v1/post/subaccounts-id-disable.mdx
154117
- page: List Subaccounts
155-
icon: null
156118
path: api-v1/get/subaccounts.mdx
157119
- page: List Subaccount Details
158-
icon: null
159120
path: api-v1/get/subaccounts-id.mdx
160121
- section: Batches
161122
contents:
162123
- page: Send a Batch of Calls
163-
icon: null
164124
path: api-v1/post/batches.mdx
165125
- page: Analyze Batch with AI
166-
icon: null
167126
path: api-v1/post/batches-id-analyze.mdx
168127
- page: Stop Active Batch
169-
icon: null
170128
path: api-v1/post/batches-id-stop.mdx
171129
- page: List Batches
172-
icon: null
173130
path: api-v1/get/batches.mdx
174131
- page: Batch Details
175-
icon: null
176132
path: api-v1/get/batches-id.mdx
177133
- page: Retrieve Batch Analysis
178-
icon: null
179134
path: api-v1/get/batches-id-analysis.mdx
180135
- section: SMS
181136
contents:
182137
- page: A2P Registration
183-
icon: null
184138
path: api-v1/post/sms-submit-reg.mdx
185139
- page: Check SMS A2P status
186-
icon: null
187140
path: api-v1/post/sms-check-registration.mdx
188141
- page: Update SMS Prompt
189-
icon: null
190142
path: api-v1/post/sms-prompt-update.mdx
191143
- page: SMS Conversation Analysis
192-
icon: null
193144
path: api-v1/post/sms-analyze.mdx
194145
- page: Get SMS Messages
195-
icon: null
196146
path: api-v1/post/sms-get-messages.mdx
197147
- page: Toggle SMS Reply Method
198-
icon: null
199148
path: api-v1/post/sms-toggle-human.mdx
200149
- page: Update SMS Webhook
201-
icon: null
202150
path: api-v1/post/sms-webhook-update.mdx
203151
- section: Account
204152
contents:
205153
- page: Account Details
206-
icon: null
207154
path: api-v1/get/me.mdx
208155
- tab: documentation
209156
layout:
210157
- section: Get Started
211158
contents:
212159
- page: Welcome to Bland AI
213-
icon: null
214160
path: welcome-to-bland.mdx
215161
- page: Starter guide
216-
icon: null
217162
path: starter-guide.mdx
218163
- section: Bland Enterprise
219164
contents:
220165
- page: Custom Twilio Integration
221-
icon: null
222166
path: enterprise-features/custom-twilio.mdx
223167
- page: Fine-tuning & Custom LLMs
224-
icon: null
225168
path: enterprise-features/custom-llm.mdx
226169
- page: Unlimited support
227-
icon: null
228170
path: enterprise-features/unlimited-support.mdx
229171
- page: Custom languages & voices
230-
icon: null
231172
path: enterprise-features/custom-tts.mdx
232173
- page: Bring your own Twilio
233-
icon: null
234174
path: enterprise-features/bring-your-own-twilio.mdx
235175
- page: Enterprise rate limits
236-
icon: null
237176
path: enterprise-features/enterprise-rate-limits.mdx
238177
- section: Featured guides
239178
contents:
240179
- page: Bland & Botpress
241-
icon: null
242180
path: featured-guides/bland-and-botpress.mdx
243181
- section: Basic Tutorials
244182
contents:
245183
- page: Conversational Pathways
246-
icon: null
247184
path: tutorials/pathways.mdx
248185
- page: Custom Tools
249-
icon: null
250186
path: tutorials/custom-tools.mdx
251187
- page: Send your first phone call
252-
icon: null
253188
path: tutorials/send-first-call.mdx
254189
- page: Webhook Signing
255-
icon: null
256190
path: tutorials/webhook-signing.mdx
257191
- page: Send 1000 phone calls
258-
icon: null
259192
path: tutorials/send-1000-calls-at-once.mdx
260193
- page: Dynamic Data
261-
icon: null
262194
path: tutorials/dynamic-data.mdx
263195
- page: Setting max duration
264-
icon: null
265196
path: tutorials/max-duration.mdx
266197
- page: Live transfer
267-
icon: null
268198
path: tutorials/live-transfer.mdx
269199
- page: Webhooks
270-
icon: null
271200
path: tutorials/webhooks.mdx
272201
- section: Primary Endpoints
273202
contents:
274203
- page: Make a call
275-
icon: null
276204
path: api-reference/endpoint/call.mdx
277205
- page: Get transcript
278-
icon: null
279206
path: api-reference/endpoint/logs.mdx
280207
- page: Wait on Hold (HoldForMe)
281-
icon: null
282208
path: api-reference/endpoint/hold.mdx
283209
- page: End phone call
284-
icon: null
285210
path: api-reference/endpoint/end.mdx
286211
- page: Validate Dynamic Data
287-
icon: null
288212
path: api-reference/endpoint/dynamic_validate.mdx
289213
- page: Purchase inbound number
290-
icon: null
291214
path: api-reference/endpoint/purchase.mdx
292215
- page: Update Inbound Prompt
293-
icon: null
294216
path: api-reference/endpoint/inbound_prompt.mdx
295217
- page: Get recording
296-
icon: null
297218
path: api-reference/endpoint/recording.mdx
298219
- section: Batch Endpoints
299220
contents:
300221
- page: Batch Calling
301-
icon: null
302222
path: api-reference/batch-endpoint/batch.mdx
303223
- page: Retrieve a Batch
304-
icon: null
305224
path: api-reference/batch-endpoint/batch_get.mdx
306225
- page: Retrieve All Batches
307-
icon: null
308226
path: api-reference/batch-endpoint/batches_get.mdx
309227
- page: Cancel Batch
310-
icon: null
311228
path: api-reference/batch-endpoint/batch_stop.mdx
312229
- page: Cancel All Batch Calls
313-
icon: null
314230
path: api-reference/batch-endpoint/end_batches.mdx
315231
- section: Hold Endpoint
316232
contents:
317233
- page: Wait on Hold (HoldForMe)
318-
icon: null
319234
path: api-reference/hold-endpoint/hold.mdx

0 commit comments

Comments
 (0)