You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Haishi Yao (Jira)" <ji...@apache.org> on 2019/10/10 12:11:00 UTC
[jira] [Resolved] (SCB-1492) Allow users to custom the ObjectMapper
used in Swagger schema generation
[ https://issues.apache.org/jira/browse/SCB-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haishi Yao resolved SCB-1492.
-----------------------------
Fix Version/s: java-chassis-1.3.0
Resolution: Resolved
> 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: Haishi Yao
> Assignee: Haishi Yao
> Priority: Major
> Fix For: java-chassis-1.3.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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.4#803005)