Skip to content

Conversation

@bh2smith
Copy link

@bh2smith bh2smith commented Sep 24, 2025

A proposal to address #75 (exposing more API Routes in the SDK).

Note that the currently proposal is a breaking change to the return type of createJupiterApiClient.
It might be better to expose TokenApi as a separate entity until the next major version update.

Swagger Spec was borrowed from https://github.com/jup-ag/docs/blob/main/openapi/token.v2.yaml (with tags added to each path)

Didn't generate the rust bindings because they don't seem to belong here.

Additional Notes

I have already published this fork as jup-fork to NPM. It is already in use here: bh2smith/jupiter-agent#21

Migrated from https://github.com/jup-ag/docs/blob/main/openapi/ultra.yaml

Added operationId and tag to each route. Solved a few swagger errors on the generator. Extend the exported client with an "ultra" route. Adjusted a test that should have been done in the previous PR).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant