Class SwaggerAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder<SwaggerAnnotation.Builder>
org.apache.juneau.rest.annotation.SwaggerAnnotation.Builder
- Enclosing class:
- SwaggerAnnotation
Builder class.
 
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Instantiates a new@Swaggerobject initialized with this builder.Sets theSwagger.contact()property on this annotation.externalDocs(ExternalDocs value) Sets theSwagger.externalDocs()property on this annotation.Sets theSwagger.license()property on this annotation.Sets theSwagger.tags()property on this annotation.termsOfService(String... value) Sets theSwagger.termsOfService()property on this annotation.Sets theSwagger.title()property on this annotation.Sets theSwagger.value()property on this annotation.Sets theSwagger.version()property on this annotation.Methods inherited from class org.apache.juneau.annotation.AnnotationBuilderasThis, description
- 
Constructor Details- 
Builderprotected Builder()Constructor.
 
- 
- 
Method Details- 
buildInstantiates a new@Swaggerobject initialized with this builder.- Returns:
- A new @Swaggerobject.
 
- 
contactSets theSwagger.contact()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
externalDocsSets theSwagger.externalDocs()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
licenseSets theSwagger.license()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
tagsSets theSwagger.tags()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
termsOfServiceSets theSwagger.termsOfService()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
titleSets theSwagger.title()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
valueSets theSwagger.value()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
versionSets theSwagger.version()property on this annotation.- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
 
-