Class ServiceModelToOpenApiMapper


  • public abstract class ServiceModelToOpenApiMapper
    extends java.lang.Object
    • Constructor Detail

      • ServiceModelToOpenApiMapper

        public ServiceModelToOpenApiMapper()
    • 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)
      • map

        protected io.swagger.v3.oas.models.responses.ApiResponses map​(java.util.Set<Response> 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)