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
For tsp, interface name could not be same with the model name, meanwhile, interface name will be recognized as operation id for SDK and generated swagger. However, for some RP, model name is same with the operation id, see example.
Two possible solutions:
use @projectedName to rename interface, but current typespec-autorest does not honor @projectedName.
introduce another new decorator in typespec-azure-resource-manager to identify operation id for each operation.
I prefer 2.
The text was updated successfully, but these errors were encountered:
ArthurMa1978
changed the title
Limitation for tsp to handle operation id from swagger
[P0] Limitation for tsp to handle operation id from swagger
Jan 3, 2024
ArthurMa1978
changed the title
[P0] Limitation for tsp to handle operation id from swagger
Limitation for tsp to handle operation id from swagger
Jan 3, 2024
For tsp, interface name could not be same with the model name, meanwhile, interface name will be recognized as operation id for SDK and generated swagger. However, for some RP, model name is same with the operation id, see example.
Two possible solutions:
@projectedName
to rename interface, but currenttypespec-autorest
does not honor@projectedName
.typespec-azure-resource-manager
to identify operation id for each operation.I prefer 2.
The text was updated successfully, but these errors were encountered: