Skip to content

Commit 02417ac

Browse files
committed
Revert "fix: dont coerce enums to literals"
This reverts commit a9ef869.
1 parent c275b0a commit 02417ac

File tree

3 files changed

+6
-55
lines changed

3 files changed

+6
-55
lines changed

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": "vapi",
3-
"version": "0.44.1"
3+
"version": "0.43.8"
44
}

fern/generators.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
api:
2-
specs:
3-
- openapi: ../openapi.json
4-
overrides: ../openapi-overrides.yml
5-
settings:
6-
title-as-schema-name: false
7-
coerce-enums-to-literals: false
2+
path: ../openapi.json
3+
overrides: ../openapi-overrides.yml
4+
settings:
5+
use-title: false
6+
unions: v1
87
groups:
98
python-sdk:
109
generators:
1110
- name: fernapi/fern-python-sdk
1211
version: 4.2.7
13-
api:
14-
settings:
15-
unions: v1
1612
output:
1713
location: pypi
1814
package-name: "Vapi"
@@ -31,9 +27,6 @@ groups:
3127
# token: ${NPM_TOKEN}
3228
github:
3329
repository: fern-demo/vapi-typescript-sdk
34-
api:
35-
settings:
36-
unions: v1
3730
config:
3831
namespaceExport: Vapi
3932
allowCustomFetcher: true

openapi-overrides.yml

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -444,48 +444,6 @@ components:
444444
":":
445445
name: COLON
446446
description: ":"
447-
AzureVoice:
448-
properties:
449-
voiceId:
450-
x-fern-type-name: AzureVoiceId
451-
oneOf:
452-
- x-fern-type-name: AzureVoiceIdEnum
453-
DeepgramVoice:
454-
properties:
455-
voiceId:
456-
x-fern-type-name: DeepgramVoiceId
457-
oneOf:
458-
- x-fern-type-name: DeepgramVoiceIdEnum
459-
ElevenLabsVoice:
460-
properties:
461-
voiceId:
462-
x-fern-type-name: ElevenLabsVoiceId
463-
oneOf:
464-
- x-fern-type-name: ElevenLabsVoiceIdEnum
465-
LMNTVoice:
466-
properties:
467-
voiceId:
468-
x-fern-type-name: LMNTVoiceId
469-
oneOf:
470-
- x-fern-type-name: LMNTVoiceIdEnum
471-
NeetsVoice:
472-
properties:
473-
voiceId:
474-
x-fern-type-name: NeetsVoiceId
475-
oneOf:
476-
- x-fern-type-name: NeetsVoiceIdEnum
477-
OpenAIVoice:
478-
properties:
479-
voiceId:
480-
x-fern-type-name: OpenAIVoiceId
481-
oneOf:
482-
- x-fern-type-name: OpenAIVoiceIdEnum
483-
RimeAIVoice:
484-
properties:
485-
voiceId:
486-
x-fern-type-name: RimeAIVoiceId
487-
oneOf:
488-
- x-fern-type-name: RimeAIVoiceIdEnum
489447
securitySchemes:
490448
BearerAuth:
491449
type: http

0 commit comments

Comments
 (0)