Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.

Repository from Github https://github.comAzure/azure-sdk-for-javaRepository from Github https://github.comAzure/azure-sdk-for-java

Java SDK generation from Typespec

haseidfa opened this issue · comments

Query/Question
Java SDK generation from Typespec
I have successfully created and tested the Python SDK from my TypeSpec files.

However, when generating the Java SDK, I encountered multiple issues:

  1. npx @azure-tools/typespec-client-generator-cli fails with Invalid tsp-location.yaml.

  2. AutoRest (autorest --java) fails with Unknown wire type Flux<ByteBuffer>, indicating unsupported binary response handling.

  3. I have reviewed all documentation (TypeSpec Java Quickstart, Azure SDK guidelines, and AutoRest docs) but still cannot resolve the issue.

@anuchandy can you follow up with @haseidfa please?

/cc @srnagar @weidongxu-microsoft

Hello @haseidfa, could you share reference to the failing specs+configs, and the command used?

hi @anuchandy let me create PR and share it with you

I had this one but structure is wrong Azure/azure-rest-api-specs#33140 let me fix that

Closing this, now that the both the code generation and auto-pr is done.