Interface
open class Interface(nullable: Boolean, fields: List<GeneratedField>, superMarkers: List<Marker>, name: String, topInterfaceName: ValidFieldName, val additionalPropertyPaths: List<JsonPath>, visibility: MarkerVisibility = MarkerVisibility.IMPLICIT_PUBLIC, prependTopInterfaceName: Boolean = true) : OpenApiMarker
A Marker that will be used to generate an interface.
Parameters
nullable
whether the object can be null. Needs to be checked when referring to this Marker.
fields
the fields of the enum, can be created using generatedFieldOf.
name
the name of the interface.
visibility
the visibility of the interface.
Inheritors
Constructors
Link copied to clipboard
constructor(nullable: Boolean, fields: List<GeneratedField>, superMarkers: List<Marker>, 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.Interface
Link copied to clipboard