You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please, fix code in create and update methods of PostServiceRealization class (2 methods).
When you try in swagger to create or update some post, and fill the field "tags", must create a tag along with the post. And this tag you must find by this id in tag controller.
Consider that tag field "id" must generates automatically.
The situation is the same with nodes. The "id" creates automatically only in field connecting with one node, but nodes field "postId" doesn't generate automatically. You must fix it.
Please, fix code in create and update methods of PostServiceRealization class (2 methods).
When you try in swagger to create or update some post, and fill the field "tags", must create a tag along with the post. And this tag you must find by this id in tag controller.
Consider that tag field "id" must generates automatically.
The situation is the same with nodes. The "id" creates automatically only in field connecting with one node, but nodes field "postId" doesn't generate automatically. You must fix it.
Request must be like the following:
Expected response:
200 Ok
Actual response if you create with nodes field "postId" and tags field "id" :
200 Ok
Actual response if you try to create without nodes field "postId" and tags field "id" :
400 Bad Request
When you fix it, please describe it in already existed docs.
The text was updated successfully, but these errors were encountered: