فهرست منبع

fix: swagger crash

Zhongwen Deng 3 سال پیش
والد
کامیت
3de0d71d00
2فایلهای تغییر یافته به همراه12 افزوده شده و 6 حذف شده
  1. 4 2
      apps/emqx_authz/i18n/emqx_authz_api_cache_i18n.conf
  2. 8 4
      apps/emqx_authz/i18n/emqx_authz_api_settings_i18n.conf

+ 4 - 2
apps/emqx_authz/i18n/emqx_authz_api_cache_i18n.conf

@@ -1,6 +1,8 @@
 emqx_authz_api_cache {
 emqx_authz_api_cache {
   authorization_cache_delete {
   authorization_cache_delete {
-    en: """Clean all authorization cache in the cluster."""
-    zh: """清除集群中所有鉴权数据缓存"""
+    desc {
+      en: """Clean all authorization cache in the cluster."""
+      zh: """清除集群中所有鉴权数据缓存"""
+    }
   }
   }
 }
 }

+ 8 - 4
apps/emqx_authz/i18n/emqx_authz_api_settings_i18n.conf

@@ -1,11 +1,15 @@
 emqx_authz_api_settings {
 emqx_authz_api_settings {
   authorization_settings_get {
   authorization_settings_get {
-    en: """Get authorization settings"""
-    zh: """获取鉴权配置"""
+    desc {
+      en: """Get authorization settings"""
+      zh: """获取鉴权配置"""
+    }
   }
   }
 
 
   authorization_settings_put {
   authorization_settings_put {
-    en: """Update authorization settings"""
-    zh: """更新鉴权配置"""
+    desc {
+      en: """Update authorization settings"""
+      zh: """更新鉴权配置"""
+    }
   }
   }
 }
 }