Skip to content

Commit

Permalink
docs: add missing label to @returns in controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
c100k committed Dec 9, 2024
1 parent 3a71ac9 commit 3b2a8ba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

## spec/v0.4.1 (unreleased)

* docs: add missing label to `@returns` in controllers
* chore: expose types in esm
* refactor: remove barrel files
* refactor: simplify read version from package.json
Expand Down
2 changes: 1 addition & 1 deletion spec/controllers/DashboardsController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class DashboardsController extends Controller {
* List the dashboards with their id, name, etc.
* @summary List the dashboards
* @param queryParams
* @returns
* @returns The list of dashboards
*/
@Get()
@OperationId('ListDashboards')
Expand Down
6 changes: 3 additions & 3 deletions spec/controllers/RunnablesController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class RunnablesController extends Controller {
* List the runnables with their name, status, etc.
* @summary List the runnables
* @param queryParams
* @returns
* @returns The list of runnables
*/
@Get()
@OperationId('ListRunnables')
Expand Down Expand Up @@ -72,7 +72,7 @@ export class RunnablesController extends Controller {
* Reboot a runnable
* @summary Reboot a runnable
* @param id
* @returns
* @returns The result of the operation
*/
@Post('{id}/reboot')
@SuccessResponse(201)
Expand All @@ -94,7 +94,7 @@ export class RunnablesController extends Controller {
* Stop a runnable
* @summary Stop a runnable
* @param id
* @returns
* @returns The result of the operation
*/
@Post('{id}/stop')
@SuccessResponse(201)
Expand Down

0 comments on commit 3b2a8ba

Please sign in to comment.