Azure / autorest.python

Extension for AutoRest (https://github.com/Azure/autorest) that generates Python code
MIT License
79 stars 57 forks source link

[MPG][Diff] type changed from model type to `JSON` for `_xxx_initial` operation #2597

Closed msyyc closed 3 months ago

msyyc commented 4 months ago

PoolsOperations._create_or_update_initial, returned type changed from _models.Pool (swagger) to JSON (Typespec).

msyyc commented 4 months ago

It is by design: https://github.com/Azure/autorest.python/blob/e748eecb74477a7f647f0f8f1e0a48c840a13809/packages/typespec-python/src/http.ts#L59-L63

iscai-msft commented 3 months ago

closing since it's by design, since we don't want to even deserialize these initial operations