Class ServiceModelToSwagger2Mapper


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

      • ServiceModelToSwagger2Mapper

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