https://linen.dev logo
#general
Title
# general
a

Ankit Singhal

03/06/2023, 12:13 PM
Hi, How to make properties in request body optional. Also how null is acceptable in String property
t

Tom

03/06/2023, 12:17 PM
Hi @Ankit Singhal 1. You can use the OR matcher (which combines two or more other matchers) to effectively say “body element id must be 123 or must be absent” 2. The
absent
matcher is how you specify something must be (effectively) null i.e. not present in the request.
7 Views