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

[Swagger] The endpoint GET /categories/{id}/subjects doesn't correspond to the actual endpoint GET /categories/subjects/names. #986

Closed
MilaKomisarenko opened this issue Nov 25, 2024 · 0 comments · Fixed by #1065
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation priority: medium severity:minor

Comments

@MilaKomisarenko
Copy link

Reproducible: always

Pre-conditions:

  1. The site Space2Study is opened.
  2. The user is logged in as a Tutor.
  3. The "Edit profile" page => The "Professional info" tab is opened.

Steps to reproduce:

  1. Click "Inspect" => "Network"
  2. Click the "Add category" button.
  3. Click "names" request.
  4. Go to "Headers".
  5. Go to "Response".
  6. Go to https://s2s-back-stage.azurewebsites.net/api-docs/#/Categories/get_categories__id__subjects.

Actual result:

  1. The endpoint -- /categories/{id}/subjects.
  2. The response is
    Image

Expected result:

  1. The endpoint -- /categories/subjects/names.
    Image
  2. The response is
    Image
@MilaKomisarenko MilaKomisarenko added bug Something isn't working documentation Improvements or additions to documentation labels Nov 25, 2024
@MilaKomisarenko MilaKomisarenko transferred this issue from ita-social-projects/SpaceToStudy-Client Nov 25, 2024
@ArtemHolikov ArtemHolikov self-assigned this Dec 12, 2024
@github-project-automation github-project-automation bot moved this from Bugs to Done in SpaceToStudy Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation priority: medium severity:minor
Projects
Status: Done
2 participants