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
The current text does not allow directly targeting a primitive value, for example a certain string in the tags array of an Operation Object, and thus does not allow a convenient/workable way to remove or replace a certain tag name without knowing all other tag names in the tags field.
Proposal
Allow target JSON Path expressions to select nodes of all JSON types.
For example allow
overlay: 1.0.0info:
title: Remove a string from the tags array of all operationsversion: 1.0.0actions:
- target: $.paths.*.*.tags[?@ == 'dummy']remove: true
and
overlay: 1.0.0info:
title: Preplace a string in the tags array of all operationsversion: 1.0.0actions:
- target: $.paths.*.*.tags[?@ == 'Foo']update: "Bar"
The text was updated successfully, but these errors were encountered:
The current text does not allow directly targeting a primitive value, for example a certain string in the
tags
array of an Operation Object, and thus does not allow a convenient/workable way to remove or replace a certain tag name without knowing all other tag names in thetags
field.Proposal
Allow
target
JSON Path expressions to select nodes of all JSON types.For example allow
and
The text was updated successfully, but these errors were encountered: