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

Split openapi definition into components + requests for easier type generation to python #274

Closed
aaronvg opened this issue Mar 20, 2023 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@aaronvg
Copy link

aaronvg commented Mar 20, 2023

I'm trying to use https://github.com/koxudaxi/datamodel-code-generator to generate python types but the openapi.json file generated by this library doesn't output OpenAPI models that are used in each request (every request just has the inline schema defined) which is required by this other lib.

Would be awesome to split things out into proper models so we can have a TRPC <> openAPI <> python types/ client bridge :).

Thanks for making this library!

@stale
Copy link

stale bot commented May 19, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 19, 2023
@jlalmes jlalmes removed the stale label May 24, 2023
@jlalmes
Copy link
Owner

jlalmes commented May 24, 2023

Hi @aaronvg, thanks for opening this issue! It is already being tracked here 👉 #157 (comment)

@jlalmes jlalmes closed this as completed May 24, 2023
@jlalmes jlalmes added the duplicate This issue or pull request already exists label May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants