Skip to content

Commit

Permalink
Merge pull request #1619 from Bidaya0/fix/api-documents-fix
Browse files Browse the repository at this point in the history
fix: api documents fix.
  • Loading branch information
Bidaya0 authored Jul 13, 2023
2 parents d1595cb + 51a9dd9 commit 3c84542
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dongtai_web/aggr_vul/app_vul_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
from itertools import groupby
from collections import defaultdict
from dongtai_conf.patch import patch_point
from dongtai_common.utils.const import OPERATE_GET

INT_LIMIT: int = 2**64 - 1

Expand All @@ -34,9 +35,8 @@ class GetAppVulsList(UserEndPoint):

@extend_schema_with_envcheck(
request=AggregationArgsSerializer,
tags=[_('app VulList')],
summary=_('app List Select'),
description=_("select sca vul and app vul by keywords"),
tags=[_('Vulnerability'), OPERATE_GET],
summary="应用漏洞列表",
)
def post(self, request):
"""
Expand Down
5 changes: 2 additions & 3 deletions dongtai_web/aggr_vul/app_vul_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,8 @@ def get_annotate_data(
class GetAppVulsSummary(UserEndPoint):
@extend_schema_with_envcheck(
request=AggregationArgsSerializer,
tags=[_("app Vul count")],
summary=_("app List count"),
description=_("select app vul by keywords"),
tags=[_('Vulnerability'), OPERATE_GET],
summary="应用漏洞列表统计",
)
def post(self, request):
"""
Expand Down

0 comments on commit 3c84542

Please sign in to comment.