|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mangofactory.swagger.core.SpringGroupingStrategy
public class SpringGroupingStrategy
TODO - fix or remove There are a lot of cases this strategy does not cover. - request mappings of varying path depths, - Paths beginning with path variables - Controllers without top level request mappings
| Constructor Summary | |
|---|---|
SpringGroupingStrategy()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getResourceDescription(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo,
org.springframework.web.method.HandlerMethod handlerMethod)
Gets the resource description. |
java.util.Set<ResourceGroup> |
getResourceGroups(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo,
org.springframework.web.method.HandlerMethod handlerMethod)
Gets the resource group for a particular request mapping. |
java.lang.Integer |
getResourcePosition(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo,
org.springframework.web.method.HandlerMethod handlerMethod)
Gets the position of the resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringGroupingStrategy()
| Method Detail |
|---|
public java.util.Set<ResourceGroup> getResourceGroups(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo,
org.springframework.web.method.HandlerMethod handlerMethod)
ResourceGroupingStrategy
getResourceGroups in interface ResourceGroupingStrategyrequestMappingInfo - request mapping infohandlerMethod - handler method
ApiListingReferenceScanner
public java.lang.String getResourceDescription(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo,
org.springframework.web.method.HandlerMethod handlerMethod)
ResourceGroupingStrategy
getResourceDescription in interface ResourceGroupingStrategyrequestMappingInfo - request mapping infohandlerMethod - handler method
public java.lang.Integer getResourcePosition(org.springframework.web.servlet.mvc.method.RequestMappingInfo requestMappingInfo,
org.springframework.web.method.HandlerMethod handlerMethod)
ResourceGroupingStrategy
getResourcePosition in interface ResourceGroupingStrategy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||