Class OpSwaggerAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder
org.apache.juneau.rest.annotation.OpSwaggerAnnotation.Builder
- Enclosing class:
OpSwaggerAnnotation
Builder class.
See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Instantiates a new@OpSwagger
object 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 theOpSwagger.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.
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
build
Instantiates a new@OpSwagger
object initialized with this builder.- Returns:
- A new
@OpSwagger
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.
-
description
Sets theOpSwagger.description()
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.
-