类 RelativePathProvider
java.lang.Object
springfox.documentation.spring.web.paths.AbstractPathProvider
springfox.documentation.spring.web.paths.RelativePathProvider
- 所有已实现的接口:
springfox.documentation.PathProvider
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 springfox.documentation.spring.web.paths.AbstractPathProvider
getApplicationBasePath, getOperationPath, getResourceListingPath
-
字段详细资料
-
ROOT
- 另请参阅:
-
-
构造器详细资料
-
RelativePathProvider
public RelativePathProvider(jakarta.servlet.ServletContext servletContext)
-
-
方法详细资料
-
applicationPath
从类复制的说明:AbstractPathProviderFor relative PathProviders this is typically '/' meaning relative to the swagger ui page serving the documentation. The swagger specification recommends that this should be an absolute URL. Corresponds to the base path attribute of a swagger api declaration. This is the actual base path serving the api (not the swagger documentation)- 指定者:
applicationPath在类中AbstractPathProvider- 返回:
- the applications base uri
-
getDocumentationPath
从类复制的说明:AbstractPathProviderThe base path to the swagger api documentation. Typically docs are served from <yourApp>/api-docs so a relative resourceListing path will omit the api-docs segment. E.g. Relative: "path": "/" Absolute: "path": "http://localhost:8080/api-docs"- 指定者:
getDocumentationPath在类中AbstractPathProvider- 返回:
- the documentation base path
-