This is a TypeSpec library that will emit a Java SDK from TypeSpec.
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
)
Follow the TypeSpec Getting Started documentation to initialize your TypeSpec project.
Ensure that npx tsp compile .
runs correctly.
Run the command npm install @typespec/http-client-java
.
Run the command npx tsp compile <path-to-typespec-file> --emit @typespec/http-client-java
e.g.
npx tsp compile main.tsp --emit @typespec/http-client-java