ASF GitHub Bot logged work on CAMEL-12863:

                Author: ASF GitHub Bot
            Created on: 25/Mar/20 08:24
            Start Date: 25/Mar/20 08:24
    Worklog Time Spent: 10m 
      Work Description: asfgit commented on pull request #3676: CAMEL-12863: 
Add configOptions to camel-restdsl-swagger-plugin for swagger-codegen-plugin
URL: https://github.com/apache/camel/pull/3676
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 409370)
    Time Spent: 20m  (was: 10m)

> Add configOptions to camel-restdsl-swagger-plugin for swagger-codegen-plugin
> ----------------------------------------------------------------------------
>                 Key: CAMEL-12863
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12863
>             Project: Camel
>          Issue Type: New Feature
>          Components: tooling
>    Affects Versions: 2.22.1
>            Reporter: Jochen Cordes
>            Assignee: Dmitry Volodin
>            Priority: Major
>             Fix For: 3.2.0
>          Time Spent: 20m
>  Remaining Estimate: 0h
> For dealing with "legacy" date-formats (like yyyy-MM-dd) add the ability to 
> pass configOptions to the swagger-codegen-plugin, f.e. dateLibrary. 
> <configOptions>
> ...
> <dateLibrary>legacy</dateLibrary>
> ...
>  </configOptions>
> The default date-object generated by the swagger-codegen-plugin (LocalTime) 
> leads to parsing errors ("Expected BEGIN_OBJECT but was STRING"). Another 
> option would be to enhance the GsonDataFormat 
> (org.apache.camel.component.gson.GsonDataFormat), so that it also allows for 
> registering TypeAdapters 
> [https://www.javadoc.io/doc/com.google.code.gson/gson/latest/com.google.gson/com/google/gson/TypeAdapter.html]).

This message was sent by Atlassian Jira

Reply via email to