StructDefinitionType

struct

A struct represents a class/structure with a fix set of defined properties

Property Type Description
base Boolean

Indicates whether this is a base structure, default is false. If true the structure is used a base type, this means it is not possible to create an instance from this structure

discriminator String

Optional the property name of a discriminator property. This should be only used in case this is also a base structure

mapping
MapString

In case a discriminator is configured it is required to configure a mapping. The mapping is a map where the key is the type name (a key from the definitions map) and the value the actual discriminator type value

parent ReferencePropertyType

Defines a parent type, all properties from the parent type are inherited

properties

Contains a map of available properties for this struct

INHERITED FROM DefinitionType
deprecated Boolean
description String
type String
part of the Apioo-Project