Class ServiceModelToOpenApiMapper
- java.lang.Object
-
- springfox.documentation.oas.mappers.ServiceModelToOpenApiMapper
-
public abstract class ServiceModelToOpenApiMapper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ServiceModelToOpenApiMapper()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
afterMappingParameter(RequestParameter from, io.swagger.v3.oas.models.parameters.Parameter target)
protected java.util.Map<java.lang.String,io.swagger.v3.oas.models.media.Encoding>
fromEncodings(java.util.Collection<Encoding> encodings, ModelNamesRegistry namesRegistry)
protected java.util.Map<java.lang.String,io.swagger.v3.oas.models.headers.Header>
fromHeaders(java.util.Collection<Header> headers, ModelNamesRegistry modelNamesRegistry)
protected abstract io.swagger.v3.oas.models.media.MediaType
fromRepresentation(Representation each, ModelNamesRegistry modelNamesRegistry)
protected io.swagger.v3.oas.models.media.Schema
fromSimpleParameter(java.util.Optional<SimpleParameterSpecification> value, ModelNamesRegistry modelNamesRegistry)
protected io.swagger.v3.oas.models.responses.ApiResponses
map(java.util.Set<Response> from, ModelNamesRegistry modelNamesRegistry)
protected abstract io.swagger.v3.oas.models.info.Contact
map(Contact from)
protected io.swagger.v3.oas.models.parameters.RequestBody
map(RequestBody from, ModelNamesRegistry modelNamesRegistry)
protected abstract io.swagger.v3.oas.models.info.Info
mapApiInfo(ApiInfo from)
abstract io.swagger.v3.oas.models.OpenAPI
mapDocumentation(Documentation from)
protected abstract io.swagger.v3.oas.models.media.Encoding
mapEncoding(Encoding from, ModelNamesRegistry modelNamesRegistry)
protected abstract io.swagger.v3.oas.models.ExternalDocumentation
mapExternalDocs(ExternalDocumentation from)
protected abstract io.swagger.v3.oas.models.headers.Header
mapHeader(Header from, ModelNamesRegistry modelNamesRegistry)
protected abstract io.swagger.v3.oas.models.servers.Server
mapServer(Server from)
protected abstract io.swagger.v3.oas.models.servers.ServerVariable
mapServerVariable(ServerVariable from)
protected abstract io.swagger.v3.oas.models.tags.Tag
mapTag(Tag from)
protected io.swagger.v3.oas.models.parameters.Parameter.StyleEnum
parameterStyle(ParameterStyle from)
protected io.swagger.v3.oas.models.servers.ServerVariables
serverVariableMap(java.util.Collection<ServerVariable> serverVariables)
-
-
-
Method Detail
-
mapDocumentation
public abstract io.swagger.v3.oas.models.OpenAPI mapDocumentation(Documentation from)
-
afterMappingParameter
public void afterMappingParameter(RequestParameter from, io.swagger.v3.oas.models.parameters.Parameter target)
-
parameterStyle
protected io.swagger.v3.oas.models.parameters.Parameter.StyleEnum parameterStyle(ParameterStyle from)
-
fromSimpleParameter
protected io.swagger.v3.oas.models.media.Schema fromSimpleParameter(java.util.Optional<SimpleParameterSpecification> value, ModelNamesRegistry modelNamesRegistry)
-
map
protected io.swagger.v3.oas.models.responses.ApiResponses map(java.util.Set<Response> from, ModelNamesRegistry modelNamesRegistry)
-
map
protected io.swagger.v3.oas.models.parameters.RequestBody map(RequestBody from, ModelNamesRegistry modelNamesRegistry)
-
fromRepresentation
protected abstract io.swagger.v3.oas.models.media.MediaType fromRepresentation(Representation each, ModelNamesRegistry modelNamesRegistry)
-
fromEncodings
protected java.util.Map<java.lang.String,io.swagger.v3.oas.models.media.Encoding> fromEncodings(java.util.Collection<Encoding> encodings, ModelNamesRegistry namesRegistry)
-
mapEncoding
protected abstract io.swagger.v3.oas.models.media.Encoding mapEncoding(Encoding from, ModelNamesRegistry modelNamesRegistry)
-
fromHeaders
protected java.util.Map<java.lang.String,io.swagger.v3.oas.models.headers.Header> fromHeaders(java.util.Collection<Header> headers, ModelNamesRegistry modelNamesRegistry)
-
mapHeader
protected abstract io.swagger.v3.oas.models.headers.Header mapHeader(Header from, ModelNamesRegistry modelNamesRegistry)
-
mapApiInfo
protected abstract io.swagger.v3.oas.models.info.Info mapApiInfo(ApiInfo from)
-
map
protected abstract io.swagger.v3.oas.models.info.Contact map(Contact from)
-
mapTag
protected abstract io.swagger.v3.oas.models.tags.Tag mapTag(Tag from)
-
mapServer
protected abstract io.swagger.v3.oas.models.servers.Server mapServer(Server from)
-
serverVariableMap
protected io.swagger.v3.oas.models.servers.ServerVariables serverVariableMap(java.util.Collection<ServerVariable> serverVariables)
-
mapServerVariable
protected abstract io.swagger.v3.oas.models.servers.ServerVariable mapServerVariable(ServerVariable from)
-
mapExternalDocs
protected abstract io.swagger.v3.oas.models.ExternalDocumentation mapExternalDocs(ExternalDocumentation from)
-
-