Class ServiceModelToSwagger2Mapper
- java.lang.Object
-
- springfox.documentation.swagger2.mappers.ServiceModelToSwagger2Mapper
-
public abstract class ServiceModelToSwagger2Mapper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ServiceModelToSwagger2Mapper()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method 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(java.util.Map<java.lang.String,java.util.List<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, ModelNamesRegistry modelNames)
protected java.util.Map<java.lang.String,io.swagger.models.Response>
mapResponseMessages(java.util.Set<ResponseMessage> from)
Deprecated.protected java.util.Map<java.lang.String,io.swagger.models.Response>
mapResponses(java.util.Set<Response> from, ModelNamesRegistry modelNamesRegistry)
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)
-
-
-
Method Detail
-
mapDocumentation
public abstract io.swagger.models.Swagger mapDocumentation(Documentation from)
-
mapApiInfo
protected abstract io.swagger.models.Info mapApiInfo(ApiInfo from)
-
map
protected abstract io.swagger.models.Contact map(Contact from)
-
mapOperation
protected abstract io.swagger.models.Operation mapOperation(Operation from, ModelNamesRegistry modelNames)
-
mapTag
protected abstract io.swagger.models.Tag mapTag(Tag from)
-
mapSchemes
protected java.util.List<io.swagger.models.Scheme> mapSchemes(java.util.List<java.lang.String> from)
-
mapAuthorizations
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)
-
mapResponseMessages
@Deprecated protected java.util.Map<java.lang.String,io.swagger.models.Response> mapResponseMessages(java.util.Set<ResponseMessage> from)
Deprecated.Not required when usingmapResponses(Set, ModelNamesRegistry)
instead- Since:
- 3.0.0
-
mapResponses
protected java.util.Map<java.lang.String,io.swagger.models.Response> mapResponses(java.util.Set<Response> from, ModelNamesRegistry modelNamesRegistry)
-
mapApiListings
protected java.util.Map<java.lang.String,io.swagger.models.Path> mapApiListings(java.util.Map<java.lang.String,java.util.List<ApiListing>> apiListings)
-
-