Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When the openapi version is changed to 3.1.0 from 3.0.3, integer values are assigned the maximum value. #9816

Open
DenysLiubchenko opened this issue Apr 13, 2024 · 0 comments

Comments

@DenysLiubchenko
Copy link

DenysLiubchenko commented Apr 13, 2024

Q&A (please complete the following information)

  • OpenAPI version: OpenAPI 3.1.0

Content & configuration

image
image

OpenAPI:

"openapi": "3.1.0",
    "info": {
///
"User": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "format": "int64"
                },
                "username": {
                    "type": "string"
                },
                "firstName": {
                    "type": "string"
                },
                "lastName": {
                    "type": "string"
                },
                "email": {
                    "type": "string"
                },
                "password": {
                    "type": "string"
                },
                "phone": {
                    "type": "string"
                },
                "userStatus": {
                    "type": "integer",
                    "format": "int32",
                    "description": "User Status"
                }
            },

How can we help?

When the openapi version is changed to 3.1.0 from 3.0.3, integer values are assigned the maximum value.
"id": {
"type": "integer",
"format": "int32"
}
and it shows up in ui as 1073741824 instead of 0, as it was before

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

No branches or pull requests

1 participant