public abstract class ServiceModelToSwagger2Mapper extends Object
| 构造器和说明 |
|---|
ServiceModelToSwagger2Mapper() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract io.swagger.models.Contact |
map(Contact from) |
protected abstract io.swagger.models.Info |
mapApiInfo(ApiInfo from) |
protected Map<String,io.swagger.models.Path> |
mapApiListings(com.google.common.collect.Multimap<String,ApiListing> apiListings) |
protected List<Map<String,List<String>>> |
mapAuthorizations(Map<String,List<AuthorizationScope>> from) |
abstract io.swagger.models.Swagger |
mapDocumentation(Documentation from) |
protected abstract io.swagger.models.Operation |
mapOperation(Operation from) |
protected Map<String,io.swagger.models.Response> |
mapResponseMessages(Set<ResponseMessage> from) |
protected List<io.swagger.models.Scheme> |
mapSchemes(List<String> from) |
protected abstract io.swagger.models.Tag |
mapTag(Tag from) |
public abstract io.swagger.models.Swagger mapDocumentation(Documentation from)
protected abstract io.swagger.models.Info mapApiInfo(ApiInfo from)
protected abstract io.swagger.models.Contact map(Contact from)
protected abstract io.swagger.models.Operation mapOperation(Operation from)
protected abstract io.swagger.models.Tag mapTag(Tag from)
protected List<Map<String,List<String>>> mapAuthorizations(Map<String,List<AuthorizationScope>> from)
protected Map<String,io.swagger.models.Response> mapResponseMessages(Set<ResponseMessage> from)
protected Map<String,io.swagger.models.Path> mapApiListings(com.google.common.collect.Multimap<String,ApiListing> apiListings)
Copyright © 2022. All rights reserved.