IBM/openapi-validator

Validator not recognizing missing property definition in object schemas

Closed this issue · 1 comments

The following invalid schema is not being recognized by the validator:

InfoRecord:
  type: object
  required:
    - userId
    - name
  properties:
    userId:
      type: string
      description: The user id.

Yes, this looks like a good check to add to the Validator. Would be happy to accept a PR for this, and also would be happy to look into this in the couple of weeks.