usage-example-pre-defined-endpoint
Overview
This rule belongs to the apimatic-codegen-validation ruleset and states that:
The endpoint group name and endpoint name provided in the UsageExampleEndpoint CodeGen setting must point to an endpoint that is pre-defined in the API endpoints.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | The endpoint group name and endpoint name pair specified in the UsageExampleEndpoint CodeGen setting does not exist. |
| Code | APIMATICCODEGEN_V259 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | CodeGen Settings |
| Products Impacted | Code Generation, Developer Experience Portal |
| Tags | apimatic code generation codegen sdks portal docs validation apimatic codegen setting |
Suggested Fixes
- Make sure that the endpoint you are referencing in the UsageExampleEndpoint CodeGen setting is defined in the API endpoints.
- Make sure that you have not misspelled the endpoint name or group name.