Annotation Type Schema
-
@Target({FIELD,METHOD,PARAMETER,TYPE,ANNOTATION_TYPE}) @Retention(RUNTIME) @Repeatable(Schemas.class) @Inherited public @interface Schema
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Schema.AccessModeaccessModeStringadditionalPropertiesClass<?>[]allOfString[]allOfRefString[]allowableValuesClass<?>[]anyOfString[]anyOfRefStringdefaultValuebooleandeprecatedStringdescriptionDiscriminatorMapping[]discriminatorMappingStringdiscriminatorPropertybooleanenumAsRefStringexamplebooleanexclusiveMaximumbooleanexclusiveMinimumExtension[]extensionsExternalDocumentationexternalDocsStringformatbooleanhiddenClass<?>implementationStringmaximumintmaxLengthintmaxPropertiesStringminimumintminLengthintminPropertiesdoublemultipleOfStringnameClass<?>notString[]notRefbooleannullableClass<?>[]oneOfString[]oneOfRefStringpatternbooleanreadOnlyDeprecated.StringrefbooleanrequiredString[]requiredPropertiesClass<?>[]subTypesStringtitleSchemaTypetypebooleanwriteOnlyDeprecated.
-
-
-
Element Detail
-
implementation
Class<?> implementation
- Default:
- java.lang.Void.class
-
-
-
not
Class<?> not
- Default:
- java.lang.Void.class
-
-
-
notRef
String[] notRef
- Default:
- {}
-
-
-
oneOf
Class<?>[] oneOf
- Default:
- {}
-
-
-
oneOfRef
String[] oneOfRef
- Default:
- {}
-
-
-
anyOf
Class<?>[] anyOf
- Default:
- {}
-
-
-
anyOfRef
String[] anyOfRef
- Default:
- {}
-
-
-
allOf
Class<?>[] allOf
- Default:
- {}
-
-
-
allOfRef
String[] allOfRef
- Default:
- {}
-
-
-
name
String name
- Default:
- ""
-
-
-
title
String title
- Default:
- ""
-
-
-
maximum
String maximum
- Default:
- ""
-
-
-
minimum
String minimum
- Default:
- ""
-
-
-
pattern
String pattern
- Default:
- ""
-
-
-
requiredProperties
String[] requiredProperties
- Default:
- {}
-
-
-
description
String description
- Default:
- ""
-
-
-
format
String format
- Default:
- ""
-
-
-
ref
String ref
- Default:
- ""
-
-
-
readOnly
@Deprecated boolean readOnly
Deprecated.- Default:
- false
-
-
-
writeOnly
@Deprecated boolean writeOnly
Deprecated.- Default:
- false
-
-
-
accessMode
Schema.AccessMode accessMode
- Default:
- de.kosmos_lab.web.annotations.media.Schema.AccessMode.AUTO
-
-
-
example
String example
- Default:
- ""
-
-
-
externalDocs
ExternalDocumentation externalDocs
- Default:
- @de.kosmos_lab.web.annotations.ExternalDocumentation
-
-
-
type
SchemaType type
- Default:
- de.kosmos_lab.web.annotations.enums.SchemaType.DEFAULT
-
-
-
allowableValues
String[] allowableValues
- Default:
- {}
-
-
-
defaultValue
String defaultValue
- Default:
- ""
-
-
-
discriminatorProperty
String discriminatorProperty
- Default:
- ""
-
-
-
discriminatorMapping
DiscriminatorMapping[] discriminatorMapping
- Default:
- {}
-
-
-
hidden
boolean hidden
- Default:
- false
-
-
-
subTypes
Class<?>[] subTypes
- Default:
- {}
-
-
-
extensions
Extension[] extensions
- Default:
- {}
-
-
-
additionalProperties
String additionalProperties
- Default:
- ""
-
-