The pull request #1679 is adding getFilterJsonSchemaFor API for obtaining a JSON/OpenAPI schema of a filter argument. The initial implementation is generic and does not describe the actual model properties in the schema. Let's fix that!
- LB4 models are strict by default (extra properties are not allowed).
- It's possible to create a LB4 model that allows additional properties, Filter schema needs to detect and support this case.
- Besides model properties,
where object can contain operators like and, or, inq. See their full list in our docs: Where filter: Operators.
- Besides
where condition, model properties are used by fields property too.
The pull request #1679 is adding
getFilterJsonSchemaForAPI for obtaining a JSON/OpenAPI schema of afilterargument. The initial implementation is generic and does not describe the actual model properties in the schema. Let's fix that!whereobject can contain operators likeand,or,inq. See their full list in our docs: Where filter: Operators.wherecondition, model properties are used byfieldsproperty too.