Class Defaults
- java.lang.Object
-
- springfox.documentation.spi.service.contexts.Defaults
-
public class Defaults extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Defaults()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.Comparator<ApiDescription>
apiDescriptionOrdering()
java.util.Comparator<ApiListingReference>
apiListingReferenceOrdering()
java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>>
defaultExcludeAnnotations()
java.util.Set<java.lang.Class>
defaultIgnorableParameterTypes()
java.util.Map<org.springframework.web.bind.annotation.RequestMethod,java.util.List<ResponseMessage>>
defaultResponseMessages()
Deprecated.java.util.Map<org.springframework.http.HttpMethod,java.util.List<Response>>
defaultResponses()
Default response messages set on all api operationsjava.util.List<AlternateTypeRule>
defaultRules(com.fasterxml.classmate.TypeResolver typeResolver)
java.util.Comparator<Operation>
operationOrdering()
-
-
-
Method Detail
-
defaultIgnorableParameterTypes
public java.util.Set<java.lang.Class> defaultIgnorableParameterTypes()
-
defaultResponseMessages
@Deprecated public java.util.Map<org.springframework.web.bind.annotation.RequestMethod,java.util.List<ResponseMessage>> defaultResponseMessages()
Deprecated.Default response messages set on all api operations- Returns:
- - map of method to response messages
- Since:
- 3.0.0
Use
defaultResponses()
instead
-
defaultResponses
public java.util.Map<org.springframework.http.HttpMethod,java.util.List<Response>> defaultResponses()
Default response messages set on all api operations- Returns:
- - map of method to response messages
-
defaultExcludeAnnotations
public java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> defaultExcludeAnnotations()
-
operationOrdering
public java.util.Comparator<Operation> operationOrdering()
-
apiDescriptionOrdering
public java.util.Comparator<ApiDescription> apiDescriptionOrdering()
-
apiListingReferenceOrdering
public java.util.Comparator<ApiListingReference> apiListingReferenceOrdering()
-
defaultRules
public java.util.List<AlternateTypeRule> defaultRules(com.fasterxml.classmate.TypeResolver typeResolver)
-
-