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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add trpc-openapi? #2

Open
jlalmes opened this issue Jul 26, 2022 · 1 comment
Open

Add trpc-openapi? #2

jlalmes opened this issue Jul 26, 2022 · 1 comment

Comments

@jlalmes
Copy link

jlalmes commented Jul 26, 2022

馃殌 Great project @mwarger! Looks like this is a great starting place for tRPC developers to understand how they could structure their apps using an NX-powered monorepo.

Taking a little scan through the api/trpc-server library it looks like you've already added output schemas to lots of your procedures. Any interest in adding trpc-openapi too? It should be pretty simple, I'm happy to assist!

Full disclosure: I am the maintainer of trpc-openapi. I would love to point people toward a real world monorepo example.

@mwarger
Copy link
Owner

mwarger commented Jul 26, 2022

Thanks for the kind words @jlalmes - I appreciate all the help you provide to tRPC!

Funny enough, I actually originally had that in the massive conference talk example I used and I provided it as an example of using swagger. I took it out of this one to simplify. I'm not opposed to adding it. Could you possibly assist with a PR?

And come to think of it, I did try to integrate trpc-openapi with react-admin at one point, but didn't manage to get it working. This might be a good opportunity to give that another shot.

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

2 participants