Package io.swagger.annotations
Annotation Type Extension
-
@Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface Extension
An optionally named list of extension properties.- Since:
- 1.5.0
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description ExtensionProperty[]
properties
The extension properties.
-
-
-
Element Detail
-
properties
ExtensionProperty[] properties
The extension properties.- Returns:
- the actual extension properties
- See Also:
ExtensionProperty
-
-
-
name
String name
An option name for these extensions.- Returns:
- an option name for these extensions - will be prefixed with "x-"
- Default:
- ""
-
-