Post-emitter hooks? #5915
Unanswered
Casey Marshall (cmars)
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is there a way to add post-processing hooks to an emitter? I want to post-process the generated OpenAPI, and I can do this by orchestrating Typespec myself with custom scripts, but it would be useful to be able to trigger a JS/TS function from Typespec itself so that it always executes after the emitter completes.
Then we could share that Typespec library across our org, and generate consistent custom output with it.
All reactions