Package 

Class JacksonModelConverterFactory

  • All Implemented Interfaces:
    io.javalin.plugin.openapi.ModelConverterFactory

    
    public final class JacksonModelConverterFactory
     implements ModelConverterFactory
                        

    The default model converter, that uses jackson for the serialization. This converter respects the jackson options and annotations.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final ObjectMapper objectMapper
    • Method Summary

      Modifier and Type Method Description
      final ObjectMapper getObjectMapper()
      ModelConverter create()
      • Methods inherited from class java.lang.Object

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

      • JacksonModelConverterFactory

        JacksonModelConverterFactory(ObjectMapper objectMapper)