When it is applied to a method the value of the annotation is added to the corresponding OpenAPI operation definition.
When it is applied to a type and one or more of the fields are not empty strings the annotation value is added to the OpenAPI document root. If more than one non-empty annotation is applied to a type in the application or if the externalDocs field of the OpenAPIDefinition annotation is supplied the results are not defined.
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Extension[] | Returns: array of extensionsList of extensions to be added to the |
| public String |
| description | back to summary |
|---|---|
| public String description() A short description of the target documentation.
| |
| extensions | back to summary |
|---|---|
| public Extension[] extensions() List of extensions to be added to the
| |
| url | back to summary |
|---|---|
| public String url() The URL for the target documentation. Value must be in the format of a URL.
| |