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 doesn't correspond to the actual endpoint GET /categories/names. #984

Open
MilaKomisarenko opened this issue Nov 25, 2024 · 0 comments · May be fixed by #1094
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation priority: medium severity:minor

Comments

@MilaKomisarenko
Copy link

MilaKomisarenko commented Nov 25, 2024

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

Actual result:

  1. The endpoint -- /categories.
  2. The response is
    Image

Expected result:

  1. The endpoint -- /categories/names.
    Image
  2. The response is
    Image
@MilaKomisarenko MilaKomisarenko added bug Something isn't working documentation Improvements or additions to documentation priority: medium labels Nov 25, 2024
@MilaKomisarenko MilaKomisarenko transferred this issue from ita-social-projects/SpaceToStudy-Client Nov 25, 2024
@ArtemHolikov ArtemHolikov self-assigned this Dec 20, 2024
@ArtemHolikov ArtemHolikov linked a pull request Dec 23, 2024 that will close this issue
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: Bugs
Development

Successfully merging a pull request may close this issue.

2 participants