Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.Net: Invariant culture for OpenApiSchema conversion (#4540)
Closes : #4504 ### Motivation, Context and Description The issue occurred during the conversion from OpenApiSchema to KernelJsonSchema on environments with a culture that uses a comma as a decimal separator. To resolve this, the OpenApiSchemaExtensions.ToJsonSchema method has been updated to utilize the invariant culture for conversion instead of using current culture. <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄
- Loading branch information