Hi all, we are very very close and rounding the corner here, but here are our two asks that were generated as a result of the APIView review.
Control endpoint function generation
It appears that currently, because this is defined in the typespec:
@server(
"{url}",
"The host name of the blob storage account, e.g. accountName.blob.core.windows.net",
{
@doc("The host name of the blob storage account, e.g. accountName.blob.core.windows.net")
url: url,
}
)
Then we consequently get this generated on all our clients:
/// Returns the Url associated with this client.
pub fn endpoint(&self) -> &Url {
&self.endpoint
}
Either way, we just want granular control as we possibly we like to not call this endpoint.
Generate pageable operation without list prefix
In this typespec PR: Azure/azure-rest-api-specs#42771
After doing the necessary work to make it a pageable operation (i.e. @list etc,), it now properly is a pageable operation, but now automatically prefixes the name with list:
pub async fn find_blobs_by_tags() -> pub fn list_find_blobs_by_tags()
(GitHub PR)
Is there anyway we could control this behavior?
Thanks 😄
Hi all, we are very very close and rounding the corner here, but here are our two asks that were generated as a result of the APIView review.
Control
endpointfunction generationIt appears that currently, because this is defined in the typespec:
Then we consequently get this generated on all our clients:
Either way, we just want granular control as we possibly we like to not call this
endpoint.Generate pageable operation without
listprefixIn this typespec PR: Azure/azure-rest-api-specs#42771
After doing the necessary work to make it a pageable operation (i.e.
@listetc,), it now properly is a pageable operation, but now automatically prefixes the name withlist:pub async fn find_blobs_by_tags()->pub fn list_find_blobs_by_tags()(GitHub PR)
Is there anyway we could control this behavior?
Thanks 😄