Skip to content

Commit 93d8d6c

Browse files
committed
rough draft of nextjs example
1 parent 05d0255 commit 93d8d6c

File tree

25 files changed

+2106
-480
lines changed

25 files changed

+2106
-480
lines changed

.speakeasy/gen.lock

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 8b6cd71c-ea04-44da-af45-e43968b5928d
33
management:
4-
docChecksum: 6caab3217d0cc46c1f1e557a1b70296f
4+
docChecksum: e66646d7060ca74f7c7b640236a23a1f
55
docVersion: 1.0.0
66
speakeasyVersion: 1.625.0
77
generationVersion: 2.715.0
88
releaseVersion: 0.0.0-beta.9
9-
configChecksum: 0e85f6d7efc7250844fdce719584ade8
9+
configChecksum: 1219219dff4e3155f4ca7e78584acea9
1010
repoURL: https://github.com/OpenRouterTeam/typescript-sdk.git
1111
installationURL: https://github.com/OpenRouterTeam/typescript-sdk
1212
published: true
@@ -750,6 +750,8 @@ examples:
750750
application/json: {"error": {"code": 525, "message": "<value>"}}
751751
post_/chat/completions:
752752
speakeasy-default-post-/chat/completions:
753+
requestBody:
754+
application/json: {"messages": [], "model": "Grand Cherokee", "stream": false, "temperature": 1, "top_p": 1}
753755
responses:
754756
"200":
755757
application/json: {"id": "<id>", "choices": [], "created": 5828.67, "model": "Model X", "object": "chat.completion"}
@@ -785,6 +787,8 @@ examples:
785787
application/json: {"error": {"code": 202, "message": "<value>"}}
786788
post_/completions:
787789
speakeasy-default-post-/completions:
790+
requestBody:
791+
application/json: {"model": "Grand Caravan", "prompt": "<value>"}
788792
responses:
789793
"200":
790794
application/json: {"id": "<id>", "object": "text_completion", "created": 5585.22, "model": "Alpine", "choices": []}

.speakeasy/gen.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ typescript:
5454
operations: models/operations
5555
shared: models
5656
webhooks: models/webhooks
57+
inferSSEOverload: true
5758
inputModelSuffix: input
5859
jsonpath: rfc9535
5960
maxMethodParams: 0

0 commit comments

Comments
 (0)