public abstract class AbstractPathProvider
extends java.lang.Object
implements springfox.documentation.PathProvider
| Constructor and Description |
|---|
AbstractPathProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.String |
applicationPath()
For relative PathProviders this is typically '/' meaning relative to the swagger ui page serving the
documentation.
|
java.lang.String |
getApplicationBasePath() |
protected abstract java.lang.String |
getDocumentationPath()
The base path to the swagger api documentation.
|
java.lang.String |
getOperationPath(java.lang.String operationPath)
The relative path to the operation, from the basePath, which this operation describes.
|
java.lang.String |
getResourceListingPath(java.lang.String groupName,
java.lang.String apiDeclaration)
Corresponds to the path attribute of a swagger Resource Object (within a Resource Listing).
|
protected abstract java.lang.String applicationPath()
protected abstract java.lang.String getDocumentationPath()
public java.lang.String getApplicationBasePath()
getApplicationBasePath in interface springfox.documentation.PathProviderpublic java.lang.String getOperationPath(java.lang.String operationPath)
getOperationPath in interface springfox.documentation.PathProvideroperationPath - operation pathgetApplicationBasePath()public java.lang.String getResourceListingPath(java.lang.String groupName,
java.lang.String apiDeclaration)
getResourceListingPath in interface springfox.documentation.PathProvidergroupName - the group name for this Resource Object e.g. 'default'apiDeclaration - the identifier for the api declaration e.g 'business-controller'by appending the swagger group and apiDeclaration