Skip to content

Comments

feat: Improve openapi type conversion#1412

Merged
gtema merged 1 commit intomainfrom
codegenerator_960402
Sep 11, 2025
Merged

feat: Improve openapi type conversion#1412
gtema merged 1 commit intomainfrom
codegenerator_960402

Conversation

@gtema
Copy link
Owner

@gtema gtema commented Sep 10, 2025

The codegenerator has been improved to better respect the integer
constraints and formats present in the openapi. With this we now have a
more correct primitive types (u8, u32, etc) where previously i32 has
been used as a default. This may break users, but is bringing types
closer to reality and what server side really expects.

Changes are triggered by https://review.opendev.org/960402

The codegenerator has been improved to better respect the integer
constraints and formats present in the openapi. With this we now have a
more correct primitive types (u8, u32, etc) where previously i32 has
been used as a default. This may break users, but is bringing types
closer to reality and what server side really expects.

Change-Id: Ie23e1d3b12e2dd11e308e706ca68f93a98908c7f
Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>

Changes are triggered by https://review.opendev.org/960402
@gtema gtema force-pushed the codegenerator_960402 branch from 4b68a29 to 153f941 Compare September 11, 2025 08:27
@gtema gtema changed the title feat: Fix some typos in type formats comparison feat: Improve openapi type conversion Sep 11, 2025
@gtema gtema merged commit 0608bb9 into main Sep 11, 2025
19 checks passed
@gtema-release-plz gtema-release-plz bot mentioned this pull request Sep 11, 2025
@gtema gtema deleted the codegenerator_960402 branch September 11, 2025 09:51
This was referenced Sep 21, 2025
@gtema-release-plz gtema-release-plz bot mentioned this pull request Oct 6, 2025
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.

1 participant