类 ServiceModelToSwagger2Mapper
- java.lang.Object
-
- springfox.documentation.swagger2.mappers.ServiceModelToSwagger2Mapper
-
- 直接已知子类:
ServiceModelToSwagger2MapperImpl
public abstract class ServiceModelToSwagger2Mapper extends Object
-
-
构造器概要
构造器 构造器 说明 ServiceModelToSwagger2Mapper()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 已过时的方法 修饰符和类型 方法 说明 protected abstract io.swagger.models.Contactmap(springfox.documentation.service.Contact from)protected abstract io.swagger.models.InfomapApiInfo(springfox.documentation.service.ApiInfo from)protected Map<String,io.swagger.models.Path>mapApiListings(Map<String,List<springfox.documentation.service.ApiListing>> apiListings)protected List<Map<String,List<String>>>mapAuthorizations(Map<String,List<springfox.documentation.service.AuthorizationScope>> from)abstract io.swagger.models.SwaggermapDocumentation(springfox.documentation.service.Documentation from)protected abstract io.swagger.models.OperationmapOperation(springfox.documentation.service.Operation from, springfox.documentation.service.ModelNamesRegistry modelNames)protected Map<String,io.swagger.models.Response>mapResponseMessages(Set<springfox.documentation.service.ResponseMessage> from)已过时。protected Map<String,io.swagger.models.Response>mapResponses(Set<springfox.documentation.service.Response> from, springfox.documentation.service.ModelNamesRegistry modelNamesRegistry)protected List<io.swagger.models.Scheme>mapSchemes(List<String> from)protected abstract io.swagger.models.TagmapTag(springfox.documentation.service.Tag from)
-
-
-
方法详细资料
-
mapDocumentation
public abstract io.swagger.models.Swagger mapDocumentation(springfox.documentation.service.Documentation from)
-
mapApiInfo
protected abstract io.swagger.models.Info mapApiInfo(springfox.documentation.service.ApiInfo from)
-
map
protected abstract io.swagger.models.Contact map(springfox.documentation.service.Contact from)
-
mapOperation
protected abstract io.swagger.models.Operation mapOperation(springfox.documentation.service.Operation from, springfox.documentation.service.ModelNamesRegistry modelNames)
-
mapTag
protected abstract io.swagger.models.Tag mapTag(springfox.documentation.service.Tag from)
-
mapAuthorizations
protected List<Map<String,List<String>>> mapAuthorizations(Map<String,List<springfox.documentation.service.AuthorizationScope>> from)
-
mapResponseMessages
@Deprecated protected Map<String,io.swagger.models.Response> mapResponseMessages(Set<springfox.documentation.service.ResponseMessage> from)
已过时。Not required when usingmapResponses(Set, ModelNamesRegistry)instead- 从以下版本开始:
- 3.0.0
-
mapResponses
protected Map<String,io.swagger.models.Response> mapResponses(Set<springfox.documentation.service.Response> from, springfox.documentation.service.ModelNamesRegistry modelNamesRegistry)
-
-