Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perform a strict check on object properties #33

Merged

Commits on May 20, 2019

  1. Perform a strict check on properties

    We need to throw a validation error if property being send is
    not defined. If additionalProperties are defined, we skip the
    validation for now, with TODO added.
    
    In a case of composing schema using allOf, the property needs
    to be defined at least in 1 of te allOf items, as stated in:
    
    https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/#allof
    Ladas committed May 20, 2019
    Configuration menu
    Copy the full SHA
    d634487 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a4f947 View commit details
    Browse the repository at this point in the history
  3. Add spec for object properties

    Ladas committed May 20, 2019
    Configuration menu
    Copy the full SHA
    da388f8 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2019

  1. Configuration menu
    Copy the full SHA
    50875db View commit details
    Browse the repository at this point in the history
  2. Aggregate NotExistPropertyDefinition exception

    Aggregating either for the whole allOf block or the object.
    Ladas committed May 21, 2019
    Configuration menu
    Copy the full SHA
    7615724 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a0e9f7b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cb0aabc View commit details
    Browse the repository at this point in the history

Commits on May 27, 2019

  1. Configuration menu
    Copy the full SHA
    adb04f7 View commit details
    Browse the repository at this point in the history
  2. Support nullable alternative attribute

    Supporting attribute that can be nil or any of the refs and adding
    specs for the validation.
    Ladas committed May 27, 2019
    Configuration menu
    Copy the full SHA
    f75efa0 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2019

  1. Remove unused attr_accessor

    Ladas committed May 28, 2019
    Configuration menu
    Copy the full SHA
    6728b99 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d06b0e6 View commit details
    Browse the repository at this point in the history
  3. Add class checks to spec

    Ladas committed May 28, 2019
    Configuration menu
    Copy the full SHA
    40c7665 View commit details
    Browse the repository at this point in the history