Ver código fonte

fix: 修复错误的type

wanghongkai 6 anos atrás
pai
commit
76f0dc4359

+ 1 - 1
types/assignment/codework/NestedOneUnitTest.raml

@@ -6,7 +6,7 @@ properties:
     type: integer
     description: 用例id,注意生产环境和测试环境的用例数目不一样,顺序无法保证,该属性并非unique的
   name:
-    type: strng
+    type: string
     description: 测试用例名称
   isPass:
     type: boolean

+ 1 - 1
types/assignment/codework/NestedScore.raml

@@ -6,7 +6,7 @@ properties:
     type: integer
     description: 用例id,注意生产环境和测试环境的用例数目不一样,顺序无法保证,该属性并非unique的
   name:
-    type: strng
+    type: string
     description: 测试用例名称
   passed:
     type: boolean

+ 2 - 2
types/assignment/codework/TestRecord.raml

@@ -1,6 +1,6 @@
 #%RAML 1.0 DataType
 # TestRecord
-type: TestRecord
+type: object
 properties:
   id:
     type: integer
@@ -16,5 +16,5 @@ properties:
     type: boolean
     description: 是否全部通过
   detail:
-    type: NestedOneUnitTestVO[]
+    type: NestedOneUnitTest[]
     description: 测试的用例信息

+ 1 - 1
types/index.raml

@@ -33,7 +33,7 @@ NestedScore: !include ./assignment/codework/NestedScore.raml
 NestedOneUnitTest: !include ./assignment/codework/NestedOneUnitTest.raml
 CodeWorkResult: !include ./assignment/codework/CodeWorkResult.raml
 CodeWorkProject: !include ./assignment/codework/CodeWorkProject.raml
-CodeWorkProjectGeneral: !include ./assignment/codework/CodeWorkProjectGeneral.raml
+CodeProjectGeneral: !include ./assignment/codework/CodeProjectGeneral.raml
 CodeWorkDeploy: !include ./assignment/codework/CodeWorkDeploy.raml
 CodeWorkDeployRecord: !include ./assignment/codework/CodeWorkDeployRecord.raml
 BuildRecordDTO: !include ./assignment/codework/BuildRecordDTO.raml