swagger-api / swagger-api/swagger-codegen

[Python] Better JSON Serialization and Marshaling

Open
#5,421 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Client: Python Enhancement: Feature help wanted
Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

Currently, the Python API client relies on our own deserialiser to convert JSON string back into Python objects with support of attribute mapping. For other generators (e.g. Java, C#), we're leveraging 3rd-party libraries/modules to handle serialization/deserialization between objects and JSON strings

We would like to evaluate different Python modules to perform similar tasks instead of maintaining our own serialization/deserialisation logic:

If anyone has comments/suggestions or want to contribute to this enhancement, please reply to let us know. Thank you.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the Python API client's existing deserialization logic, then evaluate Kim and other candidate modules against its attribute-mapping behavior. The issue names no files or tests; completion would require an agreed replacement and validation plan, so project entry points and acceptance criteria need to be established first.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.