@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited public @interface ApiModel
Modifier and Type | Optional Element and Description |
---|---|
String |
description
Provide a longer description of the class.
|
String |
discriminator
Supports model inheritance and polymorphism.
|
Class<?> |
parent
Provide a superclass for the model to allow describing inheritance.
|
Class<?>[] |
subTypes
An array of the sub types inheriting from this model.
|
String |
value
Provide an alternative name for the model.
|
public abstract String value
public abstract String description
public abstract Class<?> parent
public abstract String discriminator
public abstract Class<?>[] subTypes
Copyright © 2014. All Rights Reserved.