@@ -38,33 +38,47 @@ testRule('xgen-IPA-109-custom-method-must-use-camel-case', [
3838        '/a:MethodName' : { } , 
3939        '/a/{exampleId}:method_name' : { } , 
4040        '/a:method_name' : { } , 
41+         '/a/{exampleId}:' : { } , 
42+         '/a:' : { } , 
4143      } , 
4244    } , 
4345    errors : [ 
4446      { 
4547        code : 'xgen-IPA-109-custom-method-must-use-camel-case' , 
46-         message : 'The custom method must use camelCase format. http://go/ipa/109' , 
48+         message : 'The custom method name  must use camelCase format. http://go/ipa/109' , 
4749        path : [ 'paths' ,  '/a/{exampleId}:MethodName' ] , 
4850        severity : DiagnosticSeverity . Warning , 
4951      } , 
5052      { 
5153        code : 'xgen-IPA-109-custom-method-must-use-camel-case' , 
52-         message : 'The custom method must use camelCase format. http://go/ipa/109' , 
54+         message : 'The custom method name  must use camelCase format. http://go/ipa/109' , 
5355        path : [ 'paths' ,  '/a:MethodName' ] , 
5456        severity : DiagnosticSeverity . Warning , 
5557      } , 
5658      { 
5759        code : 'xgen-IPA-109-custom-method-must-use-camel-case' , 
58-         message : 'The custom method must use camelCase format. http://go/ipa/109' , 
60+         message : 'The custom method name  must use camelCase format. http://go/ipa/109' , 
5961        path : [ 'paths' ,  '/a/{exampleId}:method_name' ] , 
6062        severity : DiagnosticSeverity . Warning , 
6163      } , 
6264      { 
6365        code : 'xgen-IPA-109-custom-method-must-use-camel-case' , 
64-         message : 'The custom method must use camelCase format. http://go/ipa/109' , 
66+         message : 'The custom method name  must use camelCase format. http://go/ipa/109' , 
6567        path : [ 'paths' ,  '/a:method_name' ] , 
6668        severity : DiagnosticSeverity . Warning , 
6769      } , 
70+       { 
71+         code : 'xgen-IPA-109-custom-method-must-use-camel-case' , 
72+         message : 'The custom method name must use camelCase format. http://go/ipa/109' , 
73+         path : [ 'paths' ,  '/a/{exampleId}:' ] , 
74+         severity : DiagnosticSeverity . Warning , 
75+       } , 
76+       { 
77+         code : 'xgen-IPA-109-custom-method-must-use-camel-case' , 
78+         message : 'The custom method name must use camelCase format. http://go/ipa/109' , 
79+         path : [ 'paths' ,  '/a:' ] , 
80+         severity : DiagnosticSeverity . Warning , 
81+       } , 
6882    ] , 
6983  } , 
7084] ) ; 
0 commit comments