File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
tools/spectral/ipa/rulesets Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 88 xgen-IPA-005-exception-extension-format :
99 description : ' IPA exception extensions must follow the correct format. http://go/ipa/5'
1010 message : ' {{error}} http://go/ipa/5'
11- severity : warn
11+ severity : error
1212 given : ' $..x-xgen-IPA-exception'
1313 then :
1414 function : ' exceptionExtensionFormat'
Original file line number Diff line number Diff line change 88 xgen-IPA-102-path-alternate-resource-name-path-param :
99 description : ' Paths should alternate between resource names and path params. http://go/ipa/102'
1010 message : ' {{error}} http://go/ipa/102'
11- severity : warn
11+ severity : error
1212 given : ' $.paths'
1313 then :
1414 field : ' @key'
Original file line number Diff line number Diff line change 99 xgen-IPA-109-custom-method-must-be-GET-or-POST :
1010 description : ' The HTTP method for custom methods must be GET or POST. http://go/ipa/109'
1111 message : ' {{error}} http://go/ipa/109'
12- severity : warn
12+ severity : error
1313 given : ' $.paths[*]'
1414 then :
1515 function : ' eachCustomMethodMustBeGetOrPost'
1616
1717 xgen-IPA-109-custom-method-must-use-camel-case :
1818 description : ' The custom method must use camelCase format. http://go/ipa/109'
1919 message : ' {{error}} http://go/ipa/109'
20- severity : warn
20+ severity : error
2121 given : ' $.paths[*]'
2222 then :
2323 function : ' eachCustomMethodMustUseCamelCase'
Original file line number Diff line number Diff line change 88 xgen-IPA-123-enum-values-must-be-upper-snake-case :
99 description : ' Enum values must be UPPER_SNAKE_CASE. http://go/ipa/123'
1010 message : ' {{error}} http://go/ipa/123'
11- severity : warn
11+ severity : error
1212 given : ' $..enum'
1313 then :
1414 function : ' eachEnumValueMustBeUpperSnakeCase'
You can’t perform that action at this time.
0 commit comments