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
Just wondering if anyone has made any attempts at getting the Azure AI Search data plane clients generated with autorust?
I started doing this for a project and got a working client running, however it required quite a bit of manual work to get SearchClient to behave. Some problems:
The spec does not include any trace of the api key authentication method
The spec does not in any way handle the actual document models. In the dotnet SDK this is implemented using generics and had to be manually added to the autorust generated client
The spec contains two clients with their own api versions. It seems like autorust by default only enables the latest version, but in this case it should enable the two different clients and their respective latest version (this is the easiest fix...)
The spec folder structure is different that the other, although the same customization has already been made for the storage clients
Currently it works for my purposes, but cannot be generated just by running autorust. Getting the generation to work seems to require quite a bit of custom code only for these clients.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Just wondering if anyone has made any attempts at getting the Azure AI Search data plane clients generated with autorust?
I started doing this for a project and got a working client running, however it required quite a bit of manual work to get SearchClient to behave. Some problems:
Currently it works for my purposes, but cannot be generated just by running autorust. Getting the generation to work seems to require quite a bit of custom code only for these clients.
Beta Was this translation helpful? Give feedback.
All reactions