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

Minimal how-to guide for component model schemas #11

Closed
devidw opened this issue Jun 27, 2024 · 1 comment
Closed

Minimal how-to guide for component model schemas #11

devidw opened this issue Jun 27, 2024 · 1 comment

Comments

@devidw
Copy link

devidw commented Jun 27, 2024

Based on trpc#417 (comment) it looks like this fork does support the definition of model schemas that go into the components section of the final openapi doc?

I read over the readme but could not find any hints how this fork makes this available as a library user, could you provide a minimal example on how to do this?

Much appreciated!

@devidw
Copy link
Author

devidw commented Jun 27, 2024

Ended up implementing it myself: https://github.com/devidw/trpc-openapi

@devidw devidw closed this as completed Jun 27, 2024
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