Azure / autorest.java

Extension for AutoRest (https://github.com/Azure/autorest) that generates Java code
MIT License
32 stars 80 forks source link

mgmt, mock test on model deserialization is wrong #2725

Closed weidongxu-microsoft closed 2 months ago

weidongxu-microsoft commented 2 months ago

Seems the "kind" value in mock data is not correct. For a correct de-serialization, the value should match the class (or one of its subclass).

https://dev.azure.com/azure-sdk/public/_build/results?buildId=3740868&view=logs&jobId=4acf76a1-15f6-5ab1-a670-c11f5b6757bd&j=4acf76a1-15f6-5ab1-a670-c11f5b6757bd&t=f5b07264-6bff-51e2-07a3-85fb2c8a9f1a