[WIP] Kiota search apicurio
This is an initial(wip) integration of Apicurio as a search provider for Kiota. It was briefly discussed with @baywet during the community meeting last time.
This implementation already "works"(against unauthenticated instances) but I think we need a little more to get it in a usable state:
- command line configuration options
kiota search --help doesn't show the specific configurations (i.e. same for github) and passing those seems to be a bit tricky, or, at least, you should know about appsettings etc..
With Apicurio Registry we need to pass a few options and they should be easily discoverable by the users, I'm looking for proposals on how to design this (no super strong C# dev skills here 😊 ).
- authentication providers
Often Apicurio Registry instances are protected with Oidc Authentication, we need slightly better integration (as mentioned here ) to get this streamlined.
I'll go ahead and propose something in kiota-java that I will eventually port to dotnet.
cc. @EricWittmann @paoloantinori
I'm happy to see another kiota client in kiota too, full circle 🥳
Yup! Super nice :-) Have you considered shipping Kiota as a Source Generator library? In this way, you might be able to directly reuse Kiota from sources(as opposed to using the CLI), increasing the chances of catching bugs early and avoiding committing the generated code.
have a look at the "login github" command.
I'll try to figure something out, will get back if I get stuck, thanks! 👍
Have you considered shipping Kiota as a Source Generator library?
Source generators have lots of serious limitations and odd behaviours at the moment, we're purposefully staying away from them for the time being.