Skip to content

Commit 0343096

Browse files
committed
Fix lint, add missing change.
1 parent 3400a76 commit 0343096

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

st2api/st2api/controllers/v1/rules.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
LOG = logging.getLogger(__name__)
4141

4242

43-
class RuleController(BaseRestControllerMixin, BaseResourceIsolationControllerMixin, ContentPackResourceController):
43+
class RuleController(BaseRestControllerMixin, BaseResourceIsolationControllerMixin,
44+
ContentPackResourceController):
4445
"""
4546
Implements the RESTful web endpoint that handles
4647
the lifecycle of Rules in the system.

st2common/st2common/openapi.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2649,6 +2649,10 @@ paths:
26492649
in: query
26502650
description: Enabled filter
26512651
type: string
2652+
- name: show_secrets
2653+
in: query
2654+
description: Show secrets in plain text
2655+
type: boolean
26522656
x-parameters:
26532657
- name: user
26542658
in: context
@@ -2710,6 +2714,10 @@ paths:
27102714
description: Entity reference or id
27112715
type: string
27122716
required: true
2717+
- name: show_secrets
2718+
in: query
2719+
description: Show secrets in plain text
2720+
type: boolean
27132721
x-parameters:
27142722
- name: user
27152723
in: context

0 commit comments

Comments
 (0)