public abstract class ServiceModelToSwagger2Mapper
extends java.lang.Object
Constructor and Description |
---|
ServiceModelToSwagger2Mapper() |
Modifier and Type | Method and Description |
---|---|
protected abstract io.swagger.models.Contact |
map(Contact from) |
protected abstract io.swagger.models.Info |
mapApiInfo(ApiInfo from) |
protected java.util.Map<java.lang.String,io.swagger.models.Path> |
mapApiListings(com.google.common.collect.Multimap<java.lang.String,ApiListing> apiListings) |
protected java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.String>>> |
mapAuthorizations(java.util.Map<java.lang.String,java.util.List<AuthorizationScope>> from) |
abstract io.swagger.models.Swagger |
mapDocumentation(Documentation from) |
protected abstract io.swagger.models.Operation |
mapOperation(Operation from) |
protected java.util.Map<java.lang.String,io.swagger.models.Response> |
mapResponseMessages(java.util.Set<ResponseMessage> from) |
protected java.util.List<io.swagger.models.Scheme> |
mapSchemes(java.util.List<java.lang.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 java.util.List<io.swagger.models.Scheme> mapSchemes(java.util.List<java.lang.String> from)
protected java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.String>>> mapAuthorizations(java.util.Map<java.lang.String,java.util.List<AuthorizationScope>> from)
protected java.util.Map<java.lang.String,io.swagger.models.Response> mapResponseMessages(java.util.Set<ResponseMessage> from)
protected java.util.Map<java.lang.String,io.swagger.models.Path> mapApiListings(com.google.common.collect.Multimap<java.lang.String,ApiListing> apiListings)