-
Notifications
You must be signed in to change notification settings - Fork 350
Java — Support Post‑Emit Execution Step in Java Emitter #10236
Copy link
Copy link
Open
Labels
emitter:client:javaIssue for the Java client emitter: @typespec/http-client-javaIssue for the Java client emitter: @typespec/http-client-java
Description
Problem Statement
During SDK generation, there are cases where Java SDKs require post‑generation fixes or adjustments that cannot be cleanly handled inside the TypeSpec emitter logic today. Currently, Java lacks a standard post‑emit hook, which forces teams to rely on ad‑hoc pipeline steps or manual follow‑ups.
We also got the ask from Foundry team that Python SDK generation requires post‑generation scripts to update the generated code.
e.g. update code emitter outputs and to deal with emitted code issues that service team hasn't decided the correct approach for yet.
Proposal
Add post‑emit execution support in the Java emitter
The emitter should invoke a script after code emission but before downstream pipeline steps
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
emitter:client:javaIssue for the Java client emitter: @typespec/http-client-javaIssue for the Java client emitter: @typespec/http-client-java