swagger-maven-plugin's modelSubstitute configuration can globally swapping 
out java.time.Instant for java.util.Date during swagger spec generation.  

Thanks

-Dan

On Sunday, May 28, 2017 at 11:00:33 PM UTC-7, Dan Tran wrote:
>
>
> I have to many places to add this annotation.  Is there a way to set it 
> globally?
>
> Thanks
>
>
> On Sunday, May 28, 2017 at 2:58:19 PM UTC-7, Dan Tran wrote:
>>
>>
>>         @ApiModelProperty(dataType="date")
>>         private Instant completionTime;
>>  
>> works for me. Thanks
>>
>> -Dan
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to