Skip to content

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

Open
@orange-buffalo

Description

@orange-buffalo

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions