WuXinyu vor 6 Jahren
Ursprung
Commit
8138d23d6c
1 geänderte Dateien mit 9 neuen und 9 gelöschten Zeilen
  1. 9 9
      raml2swagger.js

+ 9 - 9
raml2swagger.js

@@ -6,15 +6,15 @@ const raml10ToOas20 = new converter.Converter(
 );
 
 const tagsMap = {
-  '/api/auth': 'auth-权限',
-  '/api/commit': 'commit-提交',
-  '/api/course': 'course-课程',
-  '/api/exam': 'exam-考试',
-  '/api/problem': 'problem-题目',
-  '/api/record': 'record-记录',
-  '/api/result': 'result-结果',
-  '/api/user': 'user-用户',
-  '/api/statistic': 'statistic-分析'
+  '/auth': 'auth-权限',
+  '/commit': 'commit-提交',
+  '/course': 'course-课程',
+  '/exam': 'exam-考试',
+  '/problem': 'problem-题目',
+  '/record': 'record-记录',
+  '/result': 'result-结果',
+  '/user': 'user-用户',
+  '/statistic': 'statistic-分析'
 };
 
 raml10ToOas20