Stereotype «OpenAPITypeMapping»
Stereotype can be used to define special type mappings for OpenAPI and its JSON representation.
Stereotype | «OpenAPITypeMapping» |
|
---|---|---|
Applicable Elements | Class |
|
Tagged Values | ||
Name | Type | Description |
discriminatorPropertyName |
String |
Tagged value can be used to define the name of the discriminator property that is used in JSON to transport type information in case of inheritance. By default objectType will be used as name.This tagged value only makes sense to be set on types that are the top level element of an inheritance hierarchy. |
discriminatorValue |
String |
Tagged value can be used to define a special discriminator value for a class inside a inheritance hierarchy. If the tagged value is not set then the simple name of the type will be used. |
Generated by JEAF Generator