[Bug]: Subclass conctructor generation contains unexpected String object
field
#5157
Open
4 tasks done
Labels
String object
field
#5157
Describe the bug
I am working on generating a Java client library for the Azure OpenAI Realtime Audio service in this PR. The code generation is based of this TSP specification.
The issue injects a
String object
parameter to the constructor of theRealtimeResponseMessageItem
,RealtimeResponseFunctionCallOutputItem
classes which causes an error for the deserialization method.Reproduction
By using the
tsp-client sync
andtsp-client generate
commands, one can reproduce the issue currently with the repository in the present state of the PR linked in the description of the issue (Azure/azure-sdk-for-java#42707)This results in the following constructors being generated for their respective classes:
and
Checklist
The text was updated successfully, but these errors were encountered: