Hacker News new | ask | show | jobs
by JoyrexJ9 779 days ago
You can create your own emitters, there's info in the docs on how to do so. My team built a custom TypeSpec emitter to output a SDK and set of libraries
2 comments

I'm the TypeSpec PM at Microsoft and I'd like to learn more about your use case and experience building a custom emitter. Are you willing to chat about it? If so, what's the best way for me to reach you?
I wonder if they have plans to introduce any default emitters as part of the package? Nothing about that in the docs that I could find. [1]

[1] https://typespec.io/docs/extending-typespec/emitters

There are a few emitters in our standard library - OpenAPI 3.0, JSON Schema 2020-12, and Protobuf. REST client and service emitters for a few languages are coming online now and should be ready in the next couple months.