Skip to content

Commit

Permalink
lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
narthur committed Dec 23, 2023
1 parent da1e76d commit 7bc6306
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions track/routes/me.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getMe
summary: Returns details for the current user.
parameters:
- name: with_related_data
Expand All @@ -20,6 +21,7 @@ get:
"500":
description: Internal Server Error
put:
operationId: updateMe
summary: Updates details for the current user.
requestBody:
content:
Expand Down
3 changes: 3 additions & 0 deletions track/routes/me/clients.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getMeClients
summary: Returns a list of clients for the current user.
parameters:
- name: since
Expand All @@ -15,5 +16,7 @@ get:
type: array
items:
$ref: "../../schemas/Client.yaml"
"403":
description: User does not have access to this resource.
"500":
description: Internal Server Error
1 change: 1 addition & 0 deletions track/routes/me/features.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getMeFeatures
summary: Returns a list of features for the current user.
responses:
"200":
Expand Down
1 change: 1 addition & 0 deletions track/routes/me/location.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getMeLocation
summary: Returns the client's IP-based location. If no data is present, empty response will be yielded.
responses:
"200":
Expand Down
3 changes: 3 additions & 0 deletions track/routes/me/logged.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
get:
operationId: getMeLogged
summary: Used to check if authentication works.
responses:
"200":
description: Successful response
"403":
description: User does not have access to this resource.
"500":
description: Internal Server Error
3 changes: 3 additions & 0 deletions track/routes/me/organizations.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getMeOrganizations
summary: Returns a list of organizations for the current user.
responses:
"200":
Expand All @@ -9,5 +10,7 @@ get:
type: array
items:
$ref: "../../schemas/Organization.yaml"
"403":
description: User does not have access to this resource.
"500":
description: Internal Server Error
2 changes: 2 additions & 0 deletions track/routes/me/preferences.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getMePreferences
summary: Returns user preferences and alpha features. The list of alpha features contains a full list of feature codes (every feature that exists in database) and the enabled flag specifying if that feature should be enabled or disabled for the user.
responses:
"200":
Expand All @@ -12,6 +13,7 @@ get:
"500":
description: Internal Server Error
post:
operationId: updateMePreferences
summary: With this endpoint, preferences can be modified and alpha features can be enabled or disabled.
requestBody:
content:
Expand Down
1 change: 1 addition & 0 deletions track/routes/me/projects.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getMeProjects
summary: Returns a list of projects for the current user.
parameters:
- name: include_archived
Expand Down
1 change: 1 addition & 0 deletions track/routes/me/projects/paginated.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getMeProjectsPaginated
summary: Returns a paginated list of projects for the current user.
parameters:
- name: start_project_id
Expand Down
1 change: 1 addition & 0 deletions track/routes/me/tags.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getMeTags
summary: Returns a list of tags for the current user.
parameters:
- name: since
Expand Down
1 change: 1 addition & 0 deletions track/routes/me/tasks.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getMeTasks
summary: Returns tasks from projects in which the user is participating.
parameters:
- name: since
Expand Down
1 change: 1 addition & 0 deletions track/routes/me/track_reminders.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getMeTrackReminders
summary: Returns a list of track reminders for the current user.
responses:
"200":
Expand Down
1 change: 1 addition & 0 deletions track/routes/me/web-timer.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getMeWebTimer
summary: Get web timer.
responses:
"200":
Expand Down
1 change: 1 addition & 0 deletions track/routes/me/workspaces.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
get:
operationId: getMeWorkspaces
summary: Returns a list of workspaces for the current user.
parameters:
- name: since
Expand Down

0 comments on commit 7bc6306

Please sign in to comment.