Skip to content

Commit

Permalink
Fix SDKs & OpenAPI spec (langfuse#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcklingen authored Jun 2, 2023
1 parent 3598d5c commit 3073a80
Show file tree
Hide file tree
Showing 258 changed files with 72 additions and 4,259 deletions.
5 changes: 0 additions & 5 deletions fern/client/definition/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,3 @@ name: langfuse
error-discrimination:
strategy: status-code
auth: bearer
environments:
local:
docs: This local environment is helpful for testing locally!
url: http://localhost:3030
default-environment: local
2 changes: 1 addition & 1 deletion fern/client/generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ groups:
version: 0.0.26
output:
location: local-file-system
path: ../../generated/openapi
path: ../../generated/openapi-client
config:
namespaceExport: Langfuse
2 changes: 1 addition & 1 deletion fern/server/generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ groups:
version: 0.0.26
output:
location: local-file-system
path: ../../generated/openapi
path: ../../generated/openapi-server
config:
namespaceExport: Langfuse
- name: fernapi/fern-python-sdk
Expand Down
1 change: 1 addition & 0 deletions generated/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python/
69 changes: 69 additions & 0 deletions generated/openapi-client/openapi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
openapi: 3.0.1
info:
title: langfuse
version: ''
paths:
/api/public/scores:
post:
description: Add a score to the database
operationId: score_create
tags:
- Score
parameters: []
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/Score'
security:
- BearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateScoreRequest'
components:
schemas:
CreateScoreRequest:
title: CreateScoreRequest
type: object
properties:
traceId:
type: string
name:
type: string
value:
type: integer
observationId:
type: string
required:
- traceId
- name
- value
Score:
title: Score
type: object
properties:
id:
type: string
name:
type: string
value:
type: integer
observationId:
type: string
timestamp:
type: string
format: date-time
required:
- id
- name
- value
- timestamp
securitySchemes:
BearerAuth:
type: http
scheme: bearer
File renamed without changes.
28 changes: 0 additions & 28 deletions generated/python/Client.d.ts

This file was deleted.

33 changes: 0 additions & 33 deletions generated/python/Client.js

This file was deleted.

1 change: 0 additions & 1 deletion generated/python/api/index.d.ts

This file was deleted.

17 changes: 0 additions & 17 deletions generated/python/api/index.js

This file was deleted.

22 changes: 0 additions & 22 deletions generated/python/api/resources/event/client/Client.d.ts

This file was deleted.

93 changes: 0 additions & 93 deletions generated/python/api/resources/event/client/Client.js

This file was deleted.

1 change: 0 additions & 1 deletion generated/python/api/resources/event/client/index.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions generated/python/api/resources/event/client/index.js

This file was deleted.

2 changes: 0 additions & 2 deletions generated/python/api/resources/event/index.d.ts

This file was deleted.

18 changes: 0 additions & 18 deletions generated/python/api/resources/event/index.js

This file was deleted.

10 changes: 0 additions & 10 deletions generated/python/api/resources/event/types/CreateEventRequest.d.ts

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions generated/python/api/resources/event/types/Event.d.ts

This file was deleted.

5 changes: 0 additions & 5 deletions generated/python/api/resources/event/types/Event.js

This file was deleted.

2 changes: 0 additions & 2 deletions generated/python/api/resources/event/types/index.d.ts

This file was deleted.

18 changes: 0 additions & 18 deletions generated/python/api/resources/event/types/index.js

This file was deleted.

8 changes: 0 additions & 8 deletions generated/python/api/resources/index.d.ts

This file was deleted.

Loading

0 comments on commit 3073a80

Please sign in to comment.