microsoft / microsoft/kiota

[Python] Support for untyped Json

Open
#4,385 14 comments 1 reaction 1 assignee Claimed by @rohitkrsoni View on GitHub
enhancement Python
Dominant language
C#
Stars
3.8k
Forks
333
Avg merge
16h 29m
Merged PRs (30d)
116

Description

Similar to https://github.com/microsoft/kiota/pull/4095 we need to add support for untyped content in request/response payloads.

In summary, we need to

- [ ] Add `UntypedNode` base type in the abstractions library (see https://github.com/microsoft/kiota-abstractions-dotnet/pull/177)
- [ ] Add derived types of `UntypedNode` to represent object, array and primitive types in the abstractions (see https://github.com/microsoft/kiota-abstractions-dotnet/pull/177)
- [ ] Update the `getObjectValue` method in the json serialization library to handle scenarios of untyped content (see https://github.com/microsoft/kiota-serialization-json-dotnet/pull/198)
- [ ] Remove the call to `RemoveUntypedNodePropertyValues` in the refiner so that untyped properties are not stripped out.
- [ ] Add tests in the generator.
- [ ] Ensure the "apisguru::apis.guru" integration test is passing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.