Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions public/manual-checklist/Internationalization_man.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
rules:
- id: "INT-010-01-2507-2507-M"
title: "The English information returned by the API must be correct"
message: |
"The English information returned by the open API must be correct."
option: Mandatory
30 changes: 30 additions & 0 deletions public/rulesets/default/Internationalization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
rules:
- id: "INT-010-01-2507-2507-M"
title: The English information returned by the API must be correct.
message: |
The English information returned by the open API must be correct. Only English information can be returned, and Chinese information is not allowed.
option: Mandatory
location:
- paths
- components
- info
- tags
element:
- summary
- description
- title
- responses
- requestBody
- parameters
- schemas
- name
call:
function: verifyEnglishOnly
functionParams:
allowedLanguages:
- "en"
forbiddenLanguages:
- "zh"
descriprion: This rule check specification on allowed languages.
status: devel
severity: critical