@@ -61,13 +61,13 @@ testRule('xgen-IPA-123-enum-values-must-be-upper-snake-case', [
6161 {
6262 code : 'xgen-IPA-123-enum-values-must-be-upper-snake-case' ,
6363 message : 'exampleA enum value must be UPPER_SNAKE_CASE. http://go/ipa/123' ,
64- path : [ 'components' , 'schemas' , 'SchemaName' , 'properties' , 'exampleProperty' , 'enum' ] ,
64+ path : [ 'components' , 'schemas' , 'SchemaName' , 'properties' , 'exampleProperty' , 'enum' , '0' ] ,
6565 severity : DiagnosticSeverity . Warning ,
6666 } ,
6767 {
6868 code : 'xgen-IPA-123-enum-values-must-be-upper-snake-case' ,
6969 message : 'exampleB enum value must be UPPER_SNAKE_CASE. http://go/ipa/123' ,
70- path : [ 'components' , 'schemas' , 'SchemaName' , 'properties' , 'exampleProperty' , 'enum' ] ,
70+ path : [ 'components' , 'schemas' , 'SchemaName' , 'properties' , 'exampleProperty' , 'enum' , '1' ] ,
7171 severity : DiagnosticSeverity . Warning ,
7272 } ,
7373 ] ,
@@ -137,13 +137,13 @@ testRule('xgen-IPA-123-enum-values-must-be-upper-snake-case', [
137137 {
138138 code : 'xgen-IPA-123-enum-values-must-be-upper-snake-case' ,
139139 message : 'exampleA enum value must be UPPER_SNAKE_CASE. http://go/ipa/123' ,
140- path : [ 'paths' , '/a/{exampleId}' , 'get' , 'parameters' , '0' , 'schema' , 'enum' ] ,
140+ path : [ 'paths' , '/a/{exampleId}' , 'get' , 'parameters' , '0' , 'schema' , 'enum' , '0' ] ,
141141 severity : DiagnosticSeverity . Warning ,
142142 } ,
143143 {
144144 code : 'xgen-IPA-123-enum-values-must-be-upper-snake-case' ,
145145 message : 'exampleB enum value must be UPPER_SNAKE_CASE. http://go/ipa/123' ,
146- path : [ 'paths' , '/a/{exampleId}' , 'get' , 'parameters' , '0' , 'schema' , 'enum' ] ,
146+ path : [ 'paths' , '/a/{exampleId}' , 'get' , 'parameters' , '0' , 'schema' , 'enum' , '1' ] ,
147147 severity : DiagnosticSeverity . Warning ,
148148 } ,
149149 ] ,
0 commit comments