Class OpSwaggerAnnotation.Builder
java.lang.Object
org.apache.juneau.commons.annotation.AnnotationObject.Builder
org.apache.juneau.rest.annotation.OpSwaggerAnnotation.Builder
- Enclosing class:
- OpSwaggerAnnotation
Builder class.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Instantiates a new@OpSwaggerobject initialized with this builder.Sets theOpSwagger.consumes()property on this annotation.deprecated(String value) Sets theOpSwagger.deprecated()property on this annotation.description(String... value) Sets the description property on this annotation.externalDocs(ExternalDocs value) Sets theOpSwagger.externalDocs()property on this annotation.operationId(String value) Sets theOpSwagger.operationId()property on this annotation.parameters(String... value) Sets theOpSwagger.parameters()property on this annotation.Sets theOpSwagger.produces()property on this annotation.Sets theOpSwagger.responses()property on this annotation.Sets theOpSwagger.schemes()property on this annotation.Sets theOpSwagger.summary()property on this annotation.Sets theOpSwagger.tags()property on this annotation.Sets theOpSwagger.value()property on this annotation.Methods inherited from class org.apache.juneau.commons.annotation.AnnotationObject.Builder
getAnnotationType
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
build
Instantiates a new@OpSwaggerobject initialized with this builder.- Returns:
- A new
@OpSwaggerobject.
-
description
Sets the description property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
consumes
Sets theOpSwagger.consumes()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
deprecated
Sets theOpSwagger.deprecated()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
externalDocs
Sets theOpSwagger.externalDocs()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
operationId
Sets theOpSwagger.operationId()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
parameters
Sets theOpSwagger.parameters()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
produces
Sets theOpSwagger.produces()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
responses
Sets theOpSwagger.responses()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
schemes
Sets theOpSwagger.schemes()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
summary
Sets theOpSwagger.summary()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
tags
Sets theOpSwagger.tags()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
value
Sets theOpSwagger.value()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-