Integers should be limited to mitigate resource exhaustion attacks. Specifying whether int32 or int64 is expected via format helps enforce proper constraints.
OWASP API4 2023 Integer Format
Message: Schema of type integer must specify format (int32 or int64).