diff --git a/public/manual-checklist/Internationalization_man.yaml b/public/manual-checklist/Internationalization_man.yaml new file mode 100644 index 0000000..c8bfc03 --- /dev/null +++ b/public/manual-checklist/Internationalization_man.yaml @@ -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 diff --git a/public/rulesets/default/Internationalization.yaml b/public/rulesets/default/Internationalization.yaml new file mode 100644 index 0000000..c83c65c --- /dev/null +++ b/public/rulesets/default/Internationalization.yaml @@ -0,0 +1,25 @@ +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: + - components + - info + - tags + element: + - summary + - description + - title + - name + call: + function: verifyEnglishOnly + functionParams: + allowedLanguages: + - "en" + forbiddenLanguages: + - "zh" + descriprion: This rule check specification on allowed languages. + status: devel + severity: critical