(require(""openapi-transformer-base/visit.js""))(transformernon-null, method, propName, args) → {TransformedType}
Visits a property being transformed by an OpenApiTransformerBase by adding
its name to transformPath while calling a given method with a given value.
Parameters:
Name | Type | Description |
---|---|---|
transformer |
module:openapi-transformer-base | Transformer on which transformPath will be modified. |
method |
function | Method to be called. |
propName |
string | Name of property being visited. |
args |
ArgsType | Argument to method (usually property value). |
Returns:
Result of calling method on args.
- Type
- TransformedType