Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make java.sql.Timestamp return String #174

Closed
yswtrue opened this issue Sep 18, 2024 · 1 comment · Fixed by #175
Closed

How to make java.sql.Timestamp return String #174

yswtrue opened this issue Sep 18, 2024 · 1 comment · Fixed by #175

Comments

@yswtrue
Copy link

yswtrue commented Sep 18, 2024

java.sql.Timestamp will generate Timestamp interface even though add JsonFormat annotation, how can I specific to use string class
CleanShot 2024-09-18 at 20 59 05@2x
CleanShot 2024-09-18 at 21 00 02@2x

@murdos
Copy link
Contributor

murdos commented Sep 18, 2024

Should be fixed by #175

Meanwhile, you can customize the modelAssociations, as described in the documentation: https://kbuntrock.github.io/openapi-maven-plugin/#/configuration?id=modelsassociations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants