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
I saw in the tests how to add an attribute to the required keyword { "op": "add", "path": "/required/-", "value": "q" }
but I want to ask how can i remove a keyword from being required I tried
{ "op": "remove", "path": "/required/-q"} but it did not work i seem to get it wrong so if anyone can help I would be grateful.
Thank you
The text was updated successfully, but these errors were encountered:
Value-based array operations are not supported yet in JSON patch. See this issue: json-patch/json-patch2#18
You need to remove values in an array based on index.
I saw in the tests how to add an attribute to the required keyword { "op": "add", "path": "/required/-", "value": "q" }
but I want to ask how can i remove a keyword from being required I tried
{ "op": "remove", "path": "/required/-q"} but it did not work i seem to get it wrong so if anyone can help I would be grateful.
Thank you
The text was updated successfully, but these errors were encountered: