open-api icon indicating copy to clipboard operation
open-api copied to clipboard

openapi-types: [fix] adds optional $ref to schema type

Open NoodleOfDeath opened this issue 3 years ago • 0 comments

This fix simply allows a completely valid optional $ref property to be added to a SchemaObject instance.

  • [x] I only have 1 commit.
  • [x] My commit is prefixed with the relevant package (e.g. express-openapi: fixing something) Note: You can use the bin/commit script to automate this.
  • [ ] I have added tests.
  • [x] I'm using the latest code from the master branch and there are no conflicts on my branch.
  • [ ] I have added a suffix to my commit message that will close any existing issue my PR addresses (e.g. openapi-jsonschema-parameters: Adding examples to the validation keywords (fixes #455)).
  • [ ] My tests pass locally.
  • [x] I have run linting against my code.

NoodleOfDeath avatar Oct 21 '22 16:10 NoodleOfDeath