operation-id-uses-pascal-case
Overview
This rule belongs to the openapi-v3-codegen-linting ruleset and states that:
OperationId define in the Operation object must be defined in PascalCase format.
| Property | Value |
|---|---|
| Enabled | No |
| Maximum Severity | Warning |
| Message | OperationId is not in PascalCase format. |
| Code | OPENAPI3CODEGEN_L193 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | OpenAPI Operations |
| Products Impacted | Code Generation, Developer Experience Portal |
| Tags | code generation sdks openapi3 openapi semantic linting apimatic operationId pascal case |
Suggested Fixes
- Ensure that the id is properly formatted with the first letter of each word capitalized.
- Make sure that id does not contain any spaces or underscores.