You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... both for custom validators and self-describing properties. Before: ```ruby expect(pm_schema).to have_field(:num_tails, 'number', {:description => "Number of tails", :enum => [0, 1]}) # => expected param 'num_tails' to have type 'number' (got 'string') expect_param_def("get", "/users/by_department_number", "department", "type", "integer") # => expected: "integer" # => got: "string" ``` After: tests pass. This PR also adds support for subclassing of validators.
0 commit comments