-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please update the OpenAPI spec #605
Comments
Hey David, have you seen the alpha Go SDK? https://github.com/anthropics/anthropic-sdk-go
you're correct it isn't the proper way of doing things but the server doesn't require the |
Thanks @RobertCraigie for the response and pointing to the repo. Somehow I have missed it; will definitely check it out :) Are you on the Anthropic team? With the My main concern is still lack of the |
I did the same thing. I'm trying to defining the OpenAPI specification for Claude function calling. Only one issue is left, and it would be published soon. |
Hi, unfortunately I don't know any better communication channel than to create an issue here. If there's a preferred communication way, please let me know.
For own project (terminal-agent), I had to create Anthropic Go SDK and the best way to do that was by generating one from OpenAPI spec. In another thread, I was pointed to this repository, specifically to
.stats.yaml
file (https://github.com/anthropics/anthropic-sdk-typescript/blob/main/.stats.yml#L2). It's been quite helpful, so thank you have keeping it public :) (I also have updated copy of it - anthropic-openapi-spec)As I generated the client from the spec it seems that the spec is missing some things. For one,
x-api-key
header is required on most of endpoints; however, it's missing fromPOST /v1/messages
andPOST /v1/complete
(yes, legacy, but still in use). Likewise, endpoints paths have query param (?beta=true
) which (I think!) isn't proper way of declaring the spec.Please let me know if and how I could help :)
The text was updated successfully, but these errors were encountered: