.Net: Issue 11564 (fix for local api description url filepath)
Motivation and Context
Currently, CreatePluginFromApiManifestAsync does not work when referencing a local filepath for the apiDescriptionIUrl in the apiDependencies section. For details, see https://github.com/microsoft/semantic-kernel/issues/11564
Description
The fix involves setting the BasePath of the OpenApiStreamReader to the previously parsed url value instead of the original value. Unittests and sample data included.
Contribution Checklist
- [x] The code builds clean without any errors or warnings
- [x] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone :smile:
Hope this PR is suitable. Cheers, Alexander
Cool, thanks
Just fixed the "empty line error" that was prbventing the donten-build-and-test
Dear @SergeyMenshykh , @RogerBarreto, I fixed the error with the extra line. Could you kindly start the merge again. Thanks!
We are good to go, Engineer has confirmed that this does not break our work in CAPs @SergeyMenshykh
Hi @SergeyMenshykh Thank you very much for accepting and integrating my fix! All the best, Alexander