Ask a Question

[Java] Client Code Generation: Wrong Timestamp import

eertree
New Contributor

[Java] Client Code Generation: Wrong Timestamp import

3 REPLIES 3
ponelat
Staff

Re: [Java] Client Code Generation: Wrong Timestamp import

Hi @eertree 

 

Would we like it fixed? Yes. 

It's not a high priority at this moment, but I've added a comment to the GitHub issue to see what's happening there.

 

If you're interested in this, it may be a reasonably straightforward fix and if so, we'd be happy to help get it merged.

eertree
New Contributor

Re: [Java] Client Code Generation: Wrong Timestamp import

What can be done now as a temporary solution?

ponelat
Staff

Re: [Java] Client Code Generation: Wrong Timestamp import

@eertree you can try the workaround here: https://github.com/swagger-api/swagger-codegen/issues/10440#issuecomment-982582683

Or you can search/replace the text of `import java.sql.Timestamp` with the Model you want.

cancel
Showing results for 
Search instead for 
Did you mean: