You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeSpec could use = to define default value for optional properties of a model or parameter, it equals to default of swagger like:
default value of both Typespec and swagger means server will use it instead of client side:
Python SDK from typespec:
Python SDK from swagger:
We can see there is difference between SDK generated from swagger and Typespec. I think the root cause is that m4 provides defaultValue while TCGC not:
The text was updated successfully, but these errors were encountered:
msyyc
added
the
Mgmt
This issue is related to a management-plane library.
label
May 24, 2024
TypeSpec could use
=
to define default value for optional properties of a model or parameter, it equals todefault
of swagger like:default value of both Typespec and swagger means
server will use it instead of client side
:Python SDK from typespec:
Python SDK from swagger:
We can see there is difference between SDK generated from swagger and Typespec. I think the root cause is that m4 provides
defaultValue
while TCGC not:The text was updated successfully, but these errors were encountered: