trait ApiModelProperty extends Annotation
- Annotations
- @Target() @Retention()
- Alphabetic
- By Inheritance
- ApiModelProperty
- Annotation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def access(): String
specify an optional access value for filtering in a Filter implementation.
specify an optional access value for filtering in a Filter implementation. This allows you to hide certain parameters if a user doesn't have access to them
- Annotations
- @AnnotationDefault()
- abstract def allowableValues(): String
If the values that can be set are restricted, they can be set here.
If the values that can be set are restricted, they can be set here. In the form of a comma separated list
registered, active, closed.- returns
the allowable values
- Annotations
- @AnnotationDefault()
- abstract def annotationType(): Class[_ <: Annotation]
- Definition Classes
- Annotation
- abstract def defaultValue(): String
Default value of the property.
Default value of the property. It can be a integer, number, bool, string or JSON string representation of an array or object.
- Annotations
- @AnnotationDefault()
- abstract def description(): String
Provide a human readable synopsis of this property
Provide a human readable synopsis of this property
- Annotations
- @AnnotationDefault()
- abstract def example(): String
Example value of the property
Example value of the property
- Annotations
- @AnnotationDefault()
- abstract def hidden(): Boolean
Whether or not the property should be hidden from the Swagger documentation.
Whether or not the property should be hidden from the Swagger documentation.
- returns
true if it should be hidden. Otherwise false
- Annotations
- @AnnotationDefault()
- abstract def maximumValue(): Double
Maximum value of the property
Maximum value of the property
- Annotations
- @AnnotationDefault()
- abstract def minimumValue(): Double
Minimum value of the property
Minimum value of the property
- Annotations
- @AnnotationDefault()
- abstract def notes(): String
long description of the property
long description of the property
- Annotations
- @AnnotationDefault()
- abstract def position(): Int
allows explicitly ordering the property in the model.
allows explicitly ordering the property in the model. Since reflection has no guarantee on ordering, you should specify property order to keep models consistent across different VM implementations and versions.
- Annotations
- @AnnotationDefault()
- abstract def required(): Boolean
Whether or not the property is required, defaults to true.
Whether or not the property is required, defaults to true.
- returns
true if required, false otherwise
- Annotations
- @AnnotationDefault()
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()