OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

[Eco-News, POST/econews] The "addEcoNewsDtoRequest" form-data model has to be updated #273

Open OlhenShu opened 4 months ago

OlhenShu commented 4 months ago

Environment: Windows 11 Home Chrome 114.0.5735.91 (Official buid) (64-bit) GreenCityDocker-3 is built and running.

Reproducible: always.

Pre-conditions: User is not logged in

Steps to reproduce

  1. Select the “Eco-news" controller.
  2. Select the method POST/econews.
  3. Pay attention to the "addEcoNewsDtoRequest" form-data model.

Actual result: The "addEcoNewsDtoRequest" form-data model:

{ "image": "string", "source": "https://example.org/", "shortInfo": "string", "tags": [ "string" ], "titleTranslation": {"content": "string", "languageCode": "string"}, "textTranslation": {"content": "string", "languageCode": "string"} }

Expected result: The "addEcoNewsDtoRequest" form data model:

{"tags":["string"],"text":"string","title":"string","source":"string"}