You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "YaoHaishi (Jira)" <ji...@apache.org> on 2019/09/17 13:23:00 UTC

[jira] [Created] (SCB-1492) Allow users to custom the ObjectMapper used in Swagger schema generation

YaoHaishi created SCB-1492:
------------------------------

             Summary: Allow users to custom the ObjectMapper used in Swagger schema generation
                 Key: SCB-1492
                 URL: https://issues.apache.org/jira/browse/SCB-1492
             Project: Apache ServiceComb
          Issue Type: Improvement
          Components: Java-Chassis
            Reporter: YaoHaishi
            Assignee: YaoHaishi


Swagger uses the Jackson ObjectMapper to introspect the param types and generate schema. Currently there is no extension for users to custom the ObjectMapper instance.
A new extension "ModelResolveObjectMapperProvider" can be added to make it easier to custom the Swagger schema generation mechanism.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)