Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(fern): fix API error types in fern definitions (#546)

Max Deichmann73f7dd26bd82
diff --git a/fern/apis/server/definition/commons.yml b/fern/apis/server/definition/commons.yml
index 2a7b4b53bd..4dc882a199 100644
--- a/fern/apis/server/definition/commons.yml
+++ b/fern/apis/server/definition/commons.yml
@@ -146,16 +146,16 @@ types:
errors:
Error:
status-code: 400
- type: string
+ type: unknown
UnauthorizedError:
status-code: 401
- type: string
+ type: unknown
AccessDeniedError:
status-code: 403
- type: string
+ type: unknown
NotFoundError:
status-code: 404
- type: string
+ type: unknown
MethodNotAllowedError:
status-code: 405
- type: string
+ type: unknown
diff --git a/fern/apis/server/generators.yml b/fern/apis/server/generators.yml
index 256fe8a51d..1b4b370b07 100644
--- a/fern/apis/server/generators.yml
+++ b/fern/apis/server/generators.yml
@@ -11,7 +11,7 @@ groups:
namespaceExport: Langfuse
allowCustomFetcher: true
- name: fernapi/fern-python-sdk
- version: 0.3.7
+ version: 0.6.6
output:
location: local-file-system
path: ../../../generated/python
diff --git a/fern/fern.config.json b/fern/fern.config.json
index 0aeeb3e013..66fb54b7e8 100644
--- a/fern/fern.config.json
+++ b/fern/fern.config.json
@@ -1,4 +1,4 @@
{
"organization": "finto",
- "version": "0.15.0-rc68"
+ "version": "0.15.3"
}
\ No newline at end of file
diff --git a/generated/openapi-server/openapi.yml b/generated/openapi-server/openapi.yml
index c777eba69b..d26af14ebf 100644
--- a/generated/openapi-server/openapi.yml
+++ b/generated/openapi-server/openapi.yml
@@ -21,32 +21,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: &ref_0
- BasicAuth: []
requestBody:
@@ -73,32 +68,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
requestBody:
required: true
@@ -129,32 +119,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
/api/public/datasets:
post:
@@ -174,32 +159,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
requestBody:
required: true
@@ -235,32 +215,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
/api/public/events:
post:
@@ -280,32 +255,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
requestBody:
required: true
@@ -330,32 +300,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
requestBody:
required: true
@@ -379,32 +344,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
requestBody:
required: true
@@ -426,32 +386,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'503':
description: ''
/api/public/ingestion:
@@ -472,32 +427,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
requestBody:
required: true
@@ -538,32 +488,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
/api/public/observations:
get:
@@ -625,32 +570,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
/api/public/scores:
post:
@@ -670,32 +610,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
requestBody:
required: true
@@ -744,32 +679,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
/api/public/spans:
post:
@@ -789,32 +719,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
requestBody:
required: true
@@ -839,32 +764,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
requestBody:
required: true
@@ -890,32 +810,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
requestBody:
required: true
@@ -964,32 +879,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
/api/public/traces/{traceId}:
get:
@@ -1015,32 +925,27 @@ paths:
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'401':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'403':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'404':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
'405':
description: ''
content:
application/json:
- schema:
- type: string
+ schema: {}
security: *ref_0
components:
schemas: