public class LocalizableOperation
extends io.swagger.models.Operation
Operation
.Constructor and Description |
---|
LocalizableOperation() |
Modifier and Type | Method and Description |
---|---|
void |
addTag(LocalizableString tag)
Adds a Tag, a String value that is metadata related to the Operation.
|
void |
addTag(String tag) |
LocalizableOperation |
description(LocalizableString desc)
Set the localizable description.
|
LocalizableOperation |
description(String description)
Set the plain string description.
|
String |
getDescription() |
LocalizableString |
getLocalizableDescription()
Get the localizable title for Jackson.
|
List<LocalizableString> |
getLocalizableTags()
Returns the localizable tags for this operation.
|
List<String> |
getTags() |
void |
setDescription(String description) |
void |
setTags(List<String> tags) |
addConsumes, addParameter, addProduces, addResponse, addScheme, addSecurity, consumes, consumes, defaultResponse, deprecated, equals, externalDocs, getConsumes, getDescription, getExternalDocs, getOperationId, getParameters, getProduces, getResponses, getSchemes, getSecurity, getSummary, getVendorExtensions, hashCode, isDeprecated, operationId, parameter, produces, produces, response, scheme, schemes, security, setConsumes, setDeprecated, setExternalDocs, setOperationId, setParameters, setProduces, setResponses, setSchemes, setSecurity, setSummary, setVendorExtension, setVendorExtensions, summary, tag, tags, toString, vendorExtensions
public LocalizableOperation description(LocalizableString desc)
desc
- The title.public LocalizableOperation description(String description)
description
in class io.swagger.models.Operation
description
- The title.public void setDescription(String description)
setDescription
in class io.swagger.models.Operation
public LocalizableString getLocalizableDescription()
public void addTag(String tag)
addTag
in class io.swagger.models.Operation
public void addTag(LocalizableString tag)
tag
- a LocalizableStringpublic void setTags(List<String> tags)
setTags
in class io.swagger.models.Operation
public List<LocalizableString> getLocalizableTags()
public String getDescription()
Copyright © 2010-2018, ForgeRock All Rights Reserved.