diff --git a/CHANGELOG.md b/CHANGELOG.md index dde384639f..e2a418592b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixes a bug where name collisions would occur in the Typescript refiner if model name also exists with the `Interface` suffix [#4382](https://github.com/microsoft/kiota/issues/4382) - Fixes a bug where paths without operationIds would not be included in the generated plugins and ensured operationIds are cleaned up [#4642](https://github.com/microsoft/kiota/issues/4642) - Fixes a bug where models would be duplicated in some allOf scenarios [#4191](https://github.com/microsoft/kiota/issues/4191) +- Fixes a bug where CLI Generation does not handle path parameters of type "string" and format "date", "date-time", "time", etc. [#4615](https://github.com/microsoft/kiota/issues/4615) ## [1.14.0] - 2024-05-02 diff --git a/it/python/requirements-dev.txt b/it/python/requirements-dev.txt index 8688c2d2f8..70f0744b5a 100644 --- a/it/python/requirements-dev.txt +++ b/it/python/requirements-dev.txt @@ -46,7 +46,7 @@ pytest==8.2.1 pytest-asyncio==0.23.7 -requests==2.32.0 ; python_version >= '3.7' +requests==2.32.1 ; python_version >= '3.7' toml==0.10.2 diff --git a/src/Kiota.Builder/KiotaBuilder.cs b/src/Kiota.Builder/KiotaBuilder.cs index 2493c53f23..0275f5bd50 100644 --- a/src/Kiota.Builder/KiotaBuilder.cs +++ b/src/Kiota.Builder/KiotaBuilder.cs @@ -2403,7 +2403,7 @@ private static CodeType GetDefaultQueryParameterType() }; } private static CodeType GetQueryParameterType(OpenApiSchema schema) => - new() + GetPrimitiveType(schema) ?? new() { IsExternal = true, Name = schema.Items?.Type ?? schema.Type,