non-null-non-empty-error-template-key
Overview
This rule belongs to the apimatic-post-processing-codegen-validation ruleset and states that: 
The error template key must be a valid error HTTP status code/range or set to 0. Empty or null entries will be automatically removed.
| Property | Value | 
|---|---|
| Enabled | Yes | 
| Maximum Severity | Warning | 
| Message | Error template key is empty or null. | 
| Code | APIMATICPOSTPROCESSCODEGEN_V201 | 
| Type | Validation | 
| Rule System | Semantic | 
| Products Impacted | Code Generation, Developer Experience Portal | 
| Tags | apimatic postprocessing code generation validation key error template errors exceptions codegen setting endpoint setting | 
Suggested Fixes
- Make sure that the error template map key is not empty or null.
 - The key must not contain trailing or leading spaces.
 - The key must be a valid error HTTP status code/range or set to 0.
 - Error status codes belong to the HTTP status ranges 4XX or 5XX.
 
For More Information
- https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
 - https://docs.apimatic.io/define-apis/endpoints/#error-response-codes
 - https://docs.apimatic.io/api-editor/codegen-settings/
 - https://docs.apimatic.io/define-apis/endpoints/#advanced-settings
 - https://www.apimatic.io/continuous-code-generation
 - https://docs.apimatic.io/rulesets/overview/