Class OpSwaggerAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder<OpSwaggerAnnotation.Builder>
org.apache.juneau.rest.annotation.OpSwaggerAnnotation.Builder
- Enclosing class:
- OpSwaggerAnnotation
public static class OpSwaggerAnnotation.Builder
extends AnnotationBuilder<OpSwaggerAnnotation.Builder>
Builder class.
 
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.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.annotation.AnnotationBuilderasThis, description
- 
Constructor Details- 
Builderprotected Builder()Constructor.
 
- 
- 
Method Details- 
buildInstantiates a new@OpSwaggerobject initialized with this builder.- Returns:
- A new @OpSwaggerobject.
 
- 
consumesSets theOpSwagger.consumes()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
deprecatedSets theOpSwagger.deprecated()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
externalDocsSets theOpSwagger.externalDocs()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
operationIdSets theOpSwagger.operationId()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
parametersSets theOpSwagger.parameters()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
producesSets theOpSwagger.produces()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
responsesSets theOpSwagger.responses()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
schemesSets theOpSwagger.schemes()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
summarySets theOpSwagger.summary()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
tagsSets theOpSwagger.tags()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
valueSets theOpSwagger.value()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
 
-