Skip to content

Explicitly mention type: "integer" in definition of Schema Object #4038

@ralfhandl

Description

@ralfhandl

OAS 3.0 and 3.1 explicitly define "integer" as an allowed value of the type keyword in section Data Types.

This difference between OAS and pure JSON Schema is not mentioned in section Schema Object.

Proposal

Explicitly mention this significant difference and define OAS type: "integer" as a shortcut for JSON Schema type: "number", multipleOf: 1.

Explicitly state in the Format Registry that column "Type" uses the extended OAS definition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clarificationrequests to clarify, but not change, part of the specschema-object

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions