Details
Description
In Swagger Java Library, custom converter can be provided to enrich the Swagger Definition. It can be achieved by extending io.swagger.converter.ModelConverter in the custom converter then, the custom converter will be loaded by the io.swagger.converter.ModelConverters using the Service Loading Mechanism.
Note: The loaded custom converters are available only in ModelConverters.getInstance().
In camel-swagger-java, the above customisation is not possible because org.apache.camel.swagger.RestModelConverters is derived from io.swagger.converter.ModelConverters and invokes the base class methods. So, the org.apache.camel.swagger.RestModelConverters is unaware of the custom converter and the enrichment is not possible.