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

[Schema Inaccuracy] check_suite.id throughout the schema is missing format definition #4076

Open
orange-buffalo opened this issue Oct 18, 2024 · 0 comments

Comments

@orange-buffalo
Copy link

Schema Inaccuracy

check_suite.id throughout the schema is missing format definition, e.g.

"check_suite": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer"
              }
            },

OpenAPI does not define a default format for integer type. Java OpenAPI generator assumes int32 and generates Integer type, which then fails to deserialize from the response: Numeric value (29776874602) out of range of int (-2147483648 - 2147483647).

Expected

check_suite.id provides the format for integer type, which we assume is int64.

Reproduction Steps

Follow the steps in Create a check run docs and observe check_suite.id value in the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants