Open danielszaniszlo opened 3 months ago
+@weidongxu-microsoft can you assist on this issue?
see https://github.com/Azure/azure-sdk-for-java/wiki/TypeSpec-Java-Quickstart#customization
⚠️ At present, customization may fail due to certain caching problem. Deleting the "autorest-java-language-server" folder under system temporary folder (typically \Users\
API Spec link
https://github.com/Azure/azure-rest-api-specs/tree/main/specification/healthdataaiservices/HealthDataAIServices.DeidServices
API Spec version
latest
Describe the bug
I need to override the generated java SDK code because of an Autorest bug: but the customization doesn't work.
I am getting the following error:
This is my related tsp config:
My customization class is at
sdk/healthdataaiservices/azure-health-deidentification/customization/src/main/java/HealthDeidentificationSdkCustomization.java
Without the
customization-class
SDK generates without error.Expected behavior
The SDK generates successfully with customization.
Actual behavior
I get the error message
Reproduction Steps
run
TypeSpec-Generate-Sdk.ps1
pointing to theazure-sdk-for-java
repositoryEnvironment
Windows 11 Powershell Version 7