Class ServiceModelToSwagger2Mapper


  • public abstract class ServiceModelToSwagger2Mapper
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected abstract io.swagger.models.Contact map​(springfox.documentation.service.Contact from)  
      protected abstract io.swagger.models.Info mapApiInfo​(springfox.documentation.service.ApiInfo from)  
      protected java.util.Map<java.lang.String,​io.swagger.models.Path> mapApiListings​(java.util.Map<java.lang.String,​java.util.List<springfox.documentation.service.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<springfox.documentation.service.AuthorizationScope>> from)  
      abstract io.swagger.models.Swagger mapDocumentation​(springfox.documentation.service.Documentation from)  
      protected abstract io.swagger.models.Operation mapOperation​(springfox.documentation.service.Operation from, springfox.documentation.service.ModelNamesRegistry modelNames)  
      protected java.util.Map<java.lang.String,​io.swagger.models.Response> mapResponseMessages​(java.util.Set<springfox.documentation.service.ResponseMessage> from)
      Deprecated. 
      protected java.util.Map<java.lang.String,​io.swagger.models.Response> mapResponses​(java.util.Set<springfox.documentation.service.Response> from, springfox.documentation.service.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​(springfox.documentation.service.Tag from)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServiceModelToSwagger2Mapper

        public ServiceModelToSwagger2Mapper()
    • Method Detail

      • mapDocumentation

        public abstract io.swagger.models.Swagger mapDocumentation​(springfox.documentation.service.Documentation from)
      • mapApiInfo

        protected abstract io.swagger.models.Info mapApiInfo​(springfox.documentation.service.ApiInfo from)
      • map

        protected abstract io.swagger.models.Contact map​(springfox.documentation.service.Contact from)
      • mapOperation

        protected abstract io.swagger.models.Operation mapOperation​(springfox.documentation.service.Operation from,
                                                                    springfox.documentation.service.ModelNamesRegistry modelNames)
      • mapTag

        protected abstract io.swagger.models.Tag mapTag​(springfox.documentation.service.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<springfox.documentation.service.AuthorizationScope>> from)
      • mapResponseMessages

        @Deprecated
        protected java.util.Map<java.lang.String,​io.swagger.models.Response> mapResponseMessages​(java.util.Set<springfox.documentation.service.ResponseMessage> from)
        Deprecated.
        Not required when using mapResponses(Set, ModelNamesRegistry) instead
        Since:
        3.0.0
      • mapResponses

        protected java.util.Map<java.lang.String,​io.swagger.models.Response> mapResponses​(java.util.Set<springfox.documentation.service.Response> from,
                                                                                                springfox.documentation.service.ModelNamesRegistry modelNamesRegistry)
      • mapApiListings

        protected java.util.Map<java.lang.String,​io.swagger.models.Path> mapApiListings​(java.util.Map<java.lang.String,​java.util.List<springfox.documentation.service.ApiListing>> apiListings)