-
Notifications
You must be signed in to change notification settings - Fork 61
Wrong return type #2742
Copy link
Copy link
Closed
Labels
bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Metadata
Metadata
Assignees
Labels
bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
For cadl-ranch case https://github.com/Azure/cadl-ranch/blob/96c1f90c6c3dd2facf74ccbd948585af35a4bdca/packages/cadl-ranch-specs/http/azure/core/model/main.tsp#L37, return type of generated SDK code is None:
autorest.python/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/operations/_operations.py
Line 108 in 971b75f
It is not expected since in typespec the return type is not Void