Closed archerzz closed 4 days ago
I found that SdkMethodBase.details value of many operations seems just a splitting of operation names. For example, https://github.com/Azure/autorest.csharp/blob/72659d42a5067035f0c2d969ed07dd523cbda4dc/test/TestProjects/Spread-TypeSpec/Spread-TypeSpec.tsp#L89
SdkMethodBase.details
op spreadModel( ...Thing ): void;
And its details property value is Spread Model. I feel this is quite meaningless. If we don't have a valid input, just leave the property value undefined.
details
Spread Model
undefined
Just parse the above spec
it is an issue in emitter
Describe the bug
I found that
SdkMethodBase.details
value of many operations seems just a splitting of operation names. For example, https://github.com/Azure/autorest.csharp/blob/72659d42a5067035f0c2d969ed07dd523cbda4dc/test/TestProjects/Spread-TypeSpec/Spread-TypeSpec.tsp#L89And its
details
property value isSpread Model
. I feel this is quite meaningless. If we don't have a valid input, just leave the property valueundefined
.Reproduction
Just parse the above spec
Checklist