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

[EcoNews: Add Comment] Unnecessary API Response "303" is displayed in the documentation #8180

Open
Gubernatorr opened this issue Feb 26, 2025 · 0 comments
Assignees
Labels
API back-end This is label if this task is back-end Bug

Comments

@Gubernatorr
Copy link

Environment: Windows 10, Chrome 125.0.6422.112 (64-bit).

Preconditions
After reviewing the controller method for adding comments, I noticed an unnecessary Response API that is not being used. It needs to be removed.

Steps to reproduce

  1. Run GreenCity
  2. Move to swagger
  3. Scroll down to eco-news-comment-controller
  4. Choose POST /eco-news/{ecoNewsId}/comments

Actual result
303 API Response is present

Expected result
Only 201, 400, 401, 404 status codes must be present

@Gubernatorr Gubernatorr added API back-end This is label if this task is back-end Bug labels Feb 26, 2025
@Gubernatorr Gubernatorr self-assigned this Feb 26, 2025
@Gubernatorr Gubernatorr moved this to Bugs in GreenCity Feb 26, 2025
@Gubernatorr Gubernatorr moved this from Bugs to Bugs in progress in GreenCity Feb 26, 2025
@Gubernatorr Gubernatorr removed this from GreenCity Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API back-end This is label if this task is back-end Bug
Projects
None yet
Development

No branches or pull requests

1 participant