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
TCGC will give a default endpoint parameter with description Service host. Maybe we should use the description defined in @server? e.g. for this case, it's TestServer endpoint.
Check that this issue is about the Azure libraries for typespec. For feature request in the typespec language or core libraries file it in the TypeSpec repo
Maybe we should differentiate a constant endpoint URL case from an expression endpoint URL case. For endpoint which is an expression, it would be better that each template argument description is undefined? (it doesn't make sense to assign service description to them)
We have further discussion, and we thought it might be better to just leave description empty if it's not defined. And let each language emitter to decide what they want to add.
Clear and concise description of the problem
This is a minor issue.
See
cadl-ranch
server definition: https://github.com/Azure/cadl-ranch/blob/2fb006d5b4609647138382bf5d248a2edbde7742/packages/cadl-ranch-expect/src/decorators.ts#L241There is no parameter defined for endpoint, instead it's a hard-coded value.
TCGC will give a default
endpoint
parameter with descriptionService host
. Maybe we should use the description defined in@server
? e.g. for this case, it'sTestServer endpoint
.Checklist
The text was updated successfully, but these errors were encountered: