AdditionalPropertyInterface
class AdditionalPropertyInterface(nullable: Boolean, val valueType: FieldType, name: String, topInterfaceName: ValidFieldName, additionalPropertyPaths: List<JsonPath>, visibility: MarkerVisibility = MarkerVisibility.IMPLICIT_PUBLIC, prependTopInterfaceName: Boolean = true) : OpenApiMarker.Interface
Special type of Interface that inherits AdditionalProperty. Also generates different read-methods in DefaultReadOpenApiMethod including automatic conversion to AdditionalProperty.
Parameters
nullable
whether the object can be null. Needs to be checked when referring to this Marker.
valueType
the type of the value of the AdditionalProperty.
name
the name of the interface.
visibility
the visibility of the interface.
Constructors
Link copied to clipboard
constructor(nullable: Boolean, valueType: FieldType, name: String, topInterfaceName: ValidFieldName, additionalPropertyPaths: List<JsonPath>, visibility: MarkerVisibility = MarkerVisibility.IMPLICIT_PUBLIC, prependTopInterfaceName: Boolean = true)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun withName(name: String, prependTopInterfaceName: Boolean = true): OpenApiMarker.AdditionalPropertyInterface
Link copied to clipboard
open override fun withVisibility(visibility: MarkerVisibility): OpenApiMarker.AdditionalPropertyInterface