Skip to content

Conversation

@jamespeacock
Copy link

PR checklist

  • Read the contribution guildelines.
  • Ran the shell/batch script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates)
  • Filed the PR against the correct branch: master for non-breaking changes and 2.3.0 branch for breaking (non-backward compatible) changes.

Description of the PR

(details of the change, additional tests that have been done, reference to the issue for tracking, etc)

Copy link
Author

@jamespeacock jamespeacock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve

HugoMario and others added 29 commits June 27, 2022 02:55
changed pattern to work with acronyms in underscore conversion
Add support for okhttp4-gson as a replacement for okhttp-gson

okhttp-gson is based on okhttp 2.x which is no longer supported. okhttp 3.x is also [not supported anymore](https://square.github.io/okhttp/security/security/)

Creating a new target for codegen since okhttp 4.x is a breaking change over the okhttp 2.x with the changed package names.

The overall change is similar to the existing code with a few updates
- updates due to deprecations documented in https://square.github.io/okhttp/changelogs/changelog_3x/#version-300-rc1
- kept the utility methods in the existing code as-is

tested `mvn package`, ran the petstore generation scripts and the integration tests that are generated

Fixes #9606
djankows and others added 27 commits August 11, 2025 17:32
Before bugfix: a required and nullable attribute set to null/None causes a value error when received by the client.
After bugfix: This error is only caused for properties being required and not nullable
General info: The python client cannot distinguish between unset attributes (value=None) and attributes set to null (value=None)

Authored-by: MalteEbner <[email protected]>
* Don't set logging stream handler in library code

Closes #8263

* Update python-petstore and petstore-security-test samples

Co-authored-by: Nick Brown <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.