invoke

abstract operator fun invoke(validName: ValidFieldName, marker: OpenApiMarker, isTopLevelObject: Boolean): String

Produces an additional Marker with the given validName.

Return

the name of the produced marker. This name is guaranteed to be unique and might not be the same as the provided validName.

Parameters

isTopLevelObject

only used in allOf cases. If true, the additionally produced marker is a top-level object that is to be merged with another object.

marker

the marker to produce.

validName

the name of the marker.