Skip to content
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

Feature Request: Import endpoints from openAPI? #22

Open
prima-ram opened this issue Jul 15, 2024 · 0 comments
Open

Feature Request: Import endpoints from openAPI? #22

prima-ram opened this issue Jul 15, 2024 · 0 comments

Comments

@prima-ram
Copy link

Tinybird exposes the endpoints of each token thorugh https://api.tinybird.co/v0/pipes/openapi.json?token={some_token}. Wouldnt it be possible to pull this spec and generate the zod bird types?

I tried with https://github.com/astahmer/openapi-zod-client and although it works there are some nuances in the tinybird query parameters that dont quite work.

What do you think? Would make the process of keeping it up to date with your code quite easy.

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

No branches or pull requests

1 participant