Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.7k
📝 Update OpenAPI client generation docs to use@hey-api/openapi-ts#11339
📝 Update OpenAPI client generation docs to use@hey-api/openapi-ts#11339tiangolo merged 3 commits intofastapi:masterfromjordanshatford:feat/update-docs-for-openapi-codegen
@hey-api/openapi-ts#11339Conversation
tiangolo commentedMar 23, 2024
📝 Docs preview for commit0b5533b at:https://d05fcddf.fastapitiangolo.pages.dev |
tiangolo commentedMar 23, 2024
📝 Docs preview for commit565b877 at:https://f4c44230.fastapitiangolo.pages.dev |
tiangolo commentedMar 31, 2024
📝 Docs preview for commit69acdcb at:https://819ac387.fastapitiangolo.pages.dev |
jordanshatford commentedMar 31, 2024
@alejsdev is this something that can eventually be merged? If so I will make sure to keep it up to date |
tiangolo commentedApr 1, 2024
📝 Docs preview for commitda79f98 at:https://25bcd7c5.fastapitiangolo.pages.dev |
codespearhead left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
For reference: thenicolas-chaulet/openapi-typescript-codegen repo mentioned by the original maintainer redirects tohey-api/openapi-ts.
tiangolo commentedApr 3, 2024
Great! Thanks@jordanshatford! 🎉 Looking forward to your improvements in the library! 🚀 I'm already wishing there would be an option to expose objects with the JSON Schema, similar to the previous |
@hey-api/openapi-tsjordanshatford commentedApr 3, 2024
We will look into that and see! That would be a good option to provide |
mrlubos commentedApr 3, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Thank you@tiangolo! Are/were you using the previous library? Are you able to provide more context why you'd want a JSON schema? Feel free to add notes directly to the issuehey-api/openapi-ts#224 |
tiangolo commentedApr 3, 2024
Thanks@mrlubos! I just did. 🤓 |
mrlubos commentedApr 9, 2024
…astapi#11339)Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
mrlubos commentedJul 25, 2024
@tiangolo I keep coming back to the Generate Clients tutorial page. Hey API's package keeps evolving and the tutorial is slowly getting out of sync. I don't have a good solution for this yet, but keep thinking there should be a delineation between the FastAPI -> OpenAPI step (FastAPI's domain) and OpenAPI -> TypeScript step (Hey API's domain). That way it would be easier to maintain. Sometimes I get questions about OpenAPI but it's actually something people need to handle in their FastAPI code. Maybe you're experiencing the same in reverse? Let me know if you had any thoughts on this! tl;dr how to handle Generate Clients tutorial getting out of sync |
Uh oh!
There was an error while loading.Please reload this page.
Update openapi typescript client codegen docs.
See
openapi-typescript-codegenmaintainers commenthere andhereThe@hey-api/openapi-ts repository was originally a fork, but has been detached as we plan to continue maintaining but also add improvements to the original project.
Many bugs in the original project have been fixed already in this package. We are actively tracking reported issues to the repository and will fix as quickly as possible.
Docs related:
openapitoopenapi-tsto avoid clashing.useUnionTypeswas removed and is now default behaviour.useOptionsis being deprecated and is now default behaviour with warning otherwise.Disclaimer:
I am one of the people who is going to be maintaining the new package.