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

org.sprindoc.demo.app3 BeanUtils.copyProperties method does copy all properties #12

Closed
seydaz1mov opened this issue Jan 20, 2020 · 1 comment

Comments

@seydaz1mov
Copy link

When I start org.sprindoc.demo.app3 and post tweet. It gets TweetDTO, and returns Tweet model where id and text are null.

For example, tweetDto is:

{
  "id": "2",
  "text": "ASDSAS",
  "createdAt": "2020-01-20T10:13:08.650Z"
}. 

It will return, tweet model:

{
  "id": null,
  "text": null,
  "createdAt": "2020-01-20T10:26:13.589+0000"
}
@bnasslahsen
Copy link
Collaborator

@trip2gafa this a demo app of the generated OpenAPI description.
It's not intended to provide a fully working application from business point of view.
You can propose a PR, if you really want make it better.

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

No branches or pull requests

2 participants