Skip to content

Emitter usage

  1. Via the command line
Terminal window
tsp compile . --emit=@typespec/http-client-java
  1. Via the config
emit:
- "@typespec/http-client-java"

The config can be extended with options as follows:

emit:
- "@typespec/http-client-java"
options:
"@typespec/http-client-java":
option: value

Type: absolutePath

Defines the emitter output directory. Defaults to {output-dir}/@typespec/http-client-java See Configuring output directory for more info

Type: object

License information for the generated client code.

Type: object

Developer options for http-client-java emitter.