aau-giraf / web-api

The backend API for GIRAF — a .NET-core project written in C#.
GNU General Public License v3.0
2 stars 5 forks source link

Illogical endpoints #5

Closed boginw closed 3 years ago

boginw commented 5 years ago

Describe the bug Looking at the endpoints available on Swagger under Account, all endpoints start with /v1/Account/, except those regarding passwords, which start with /v1/User. This looks very weird and should be made to look like the rest.

To Reproduce Steps to reproduce the behavior:

  1. Visit http://web.giraf.cs.aau.dk:5100/swagger/
  2. Expand Account
  3. Observer endpoints
  4. See error

Expected behavior All endpoints under Account should start with /v1/Account.

Actual behavior Some endpoints start with /v1/User

Screenshots Screenshot from 2019-03-10 12-06-29

Environment (please complete the following information):

Additional context This can produce artifacts down the line which can inconvenience future developers.

Lortemanden commented 4 years ago

Does this bug still happen? The link does not work so is unsure.

JeppeKLau commented 3 years ago

Issue 5

dkalaxdk commented 3 years ago

Closed in pull request #172