Skip to content

Commit d2741cb

Browse files
committed
Refactor API operation decorators for lifecycle states endpoints to improve readability
1 parent fb50bbe commit d2741cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/management/lifecycle/lifecycle.controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class LifecycleController extends AbstractController {
6767
*
6868
* @returns A response containing all available lifecycle states (default + custom)
6969
*/
70-
@ApiOperation({
70+
@ApiOperation({
7171
summary: 'Get all available lifecycle states',
7272
description: 'Returns all lifecycle states including default states from enum and custom states from configuration'
7373
})
@@ -86,7 +86,7 @@ export class LifecycleController extends AbstractController {
8686
*
8787
* @returns A response containing only custom lifecycle states from configuration
8888
*/
89-
@ApiOperation({
89+
@ApiOperation({
9090
summary: 'Get custom lifecycle states',
9191
description: 'Returns only custom lifecycle states loaded from states.yml configuration file'
9292
})

0 commit comments

Comments
 (0)