Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

[REQ][python] Allow type: number format: float to ingest json integers #426

Closed
@Marcelo00

Description

@Marcelo00

Is your feature request related to a problem? Please describe.

We currently face validation errors when facing 0 values for a required float type. We would like to handle these values as floats. Our backend is written in Typescript which makes it impossible to save a value 0.0 because it will transformed to 0.

Describe the solution you'd like

It exists an closed issue for the related python generator in the openapi-generator library. The corresponding fix is in this MR.

Is it possible to have a similar additional flag that allows such a strict behavior?

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions