This commit is contained in:
12
dist/services/TrackService.js
vendored
12
dist/services/TrackService.js
vendored
@@ -6,7 +6,7 @@ class TrackService {
|
||||
/**
|
||||
* Get all
|
||||
* Lists all tracks.
|
||||
* @result ResponseTrack
|
||||
* @returns ResponseTrack
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async trackControllerGetAll() {
|
||||
@@ -20,7 +20,7 @@ class TrackService {
|
||||
* Post
|
||||
* Create a new track. <br> Please remember that the track's distance must be greater than 0.
|
||||
* @param requestBody CreateTrack
|
||||
* @result ResponseTrack
|
||||
* @returns ResponseTrack
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async trackControllerPost(requestBody) {
|
||||
@@ -35,7 +35,7 @@ class TrackService {
|
||||
* Get one
|
||||
* Lists all information about the track whose id got provided.
|
||||
* @param id
|
||||
* @result ResponseTrack
|
||||
* @returns ResponseTrack
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async trackControllerGetOne(id) {
|
||||
@@ -50,7 +50,7 @@ class TrackService {
|
||||
* Update the track whose id you provided. <br> Please remember that ids can't be changed.
|
||||
* @param id
|
||||
* @param requestBody UpdateTrack
|
||||
* @result ResponseTrack
|
||||
* @returns ResponseTrack
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async trackControllerPut(id, requestBody) {
|
||||
@@ -66,8 +66,8 @@ class TrackService {
|
||||
* Delete the track whose id you provided. <br> If no track with this id exists it will just return 204(no content).
|
||||
* @param id
|
||||
* @param force
|
||||
* @result ResponseTrack
|
||||
* @result ResponseEmpty
|
||||
* @returns ResponseTrack
|
||||
* @returns ResponseEmpty
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async trackControllerRemove(id, force) {
|
||||
|
||||
Reference in New Issue
Block a user