You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered an issue with the Tarkovtracker SwaggerUI, specifically regarding the URL generation for POST endpoints related to tasks/objectives. The SwaggerUI erroneously appends /api/v2 to the already complete endpoint URLs. This duplication leads to malformed URLs like https://tarkovtracker.io/api/v2/api/v2/progress/task/123 instead of the correct https://tarkovtracker.io/api/v2/progress/task/123.
This issue seems to stem from the OpenAPI specification, where the paths for task and objective progress updates are prefixed with /api/v2. However, the server list in the specification already includes /api/v2 in the base URL. This duplication in the endpoint path and base URL is causing the malformed requests.
This issue impacts the development processes, as the SwaggerUI-generated URLs do not correspond to the actual API endpoints, resulting in failed requests.
(I would be open to contribute)
The text was updated successfully, but these errors were encountered:
I've encountered an issue with the Tarkovtracker SwaggerUI, specifically regarding the URL generation for POST endpoints related to tasks/objectives. The SwaggerUI erroneously appends /api/v2 to the already complete endpoint URLs. This duplication leads to malformed URLs like
https://tarkovtracker.io/api/v2/api/v2/progress/task/123
instead of the correcthttps://tarkovtracker.io/api/v2/progress/task/123.
This issue seems to stem from the OpenAPI specification, where the paths for task and objective progress updates are prefixed with /api/v2. However, the server list in the specification already includes /api/v2 in the base URL. This duplication in the endpoint path and base URL is causing the malformed requests.
This issue impacts the development processes, as the SwaggerUI-generated URLs do not correspond to the actual API endpoints, resulting in failed requests.
(I would be open to contribute)
The text was updated successfully, but these errors were encountered: