@typespec/http-client-java
TypeScript icon, indicating that this package has built-in type declarations

0.3.2 • Public • Published

@typespec/http-client-java

TypeSpec library for emitting Java client from the TypeSpec REST protocol binding

Install

npm install @typespec/http-client-java

Usage

Prerequisite

Install Node.js 20 or above. (Verify by running node --version)

Install Java 17 or above. (Verify by running java --version)

Install Maven. (Verify by running mvn --version)

Usage

  1. Via the command line
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

Emitter options

emitter-output-dir

Type: absolutePath

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

license

Type: object

License information for the generated client code.

dev-options

Type: object

Developer options for http-client-java emitter.

Readme

Keywords

Package Sidebar

Install

npm i @typespec/http-client-java

Homepage

typespec.io

Weekly Downloads

204

Version

0.3.2

License

MIT

Unpacked Size

7.74 MB

Total Files

83

Last publish

Collaborators

  • azure-sdk
  • microsoft1es