Maybe this isn't a bug and I'm just new to Kiota. :)
For some reason (or at least a reason not known to me), query parameters of the Kiota client aren't included in the API request.
This repo has 3 projects:
-
WeatherForecast.Client
- The Kiota client genrated from...
-
WeatherForecast.Api
- Basic
dotnet new webapi
- Basic
-
Hiker.ConsoleApp
- Console app that uses the generated Kiota client to hit WeatherForecast.Api
- Run WeatherForecast.Api, then run Hiker.ConsoleApp. Observe the query parameters aren't sent with the request.