Skip to content

OpenAPI 3.0.0 specification is treated as invalid #752

Closed
@cpkio

Description

@cpkio

Describe the bug

Schema: https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.0/schema.yaml is treated as invalid.

OpenAPI issue #2969.

Expected Behavior

Should be considered valid.

Current Behavior

Result: Schema 'schema.yaml' is not valid: /definitions/Schema/properties/multipleOf/exclusiveMinimum : must be number

Steps to Reproduce

  1. Set # yaml-language-server: $schema=https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.0/schema.yaml in Neovim modeline in OpenAPI specification file.
  2. Set openapi: 3.0.0 in this OpenAPI specification file.

Schema 3.1.0 works fine.

Environment

  • Windows

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