no-enum-postfix-in-enum-schema-component-key
Overview
This rule belongs to the openapi-v3-codegen-linting
ruleset and states that:
Enumeration schema key defined in components/schemas section should not contain Enum
postfix (case-insensitive).
Property | Value |
---|---|
Enabled | No |
Maximum Severity | Warning |
Message | The Enum (case-insensitive) postfix found for enumeration schema key. |
Code | OPENAPI3CODEGEN_L136 |
Type | Linting |
Rule System | Semantic |
Broad Category | OpenAPI Components |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | code generation sdks openapi3 openapi semantic linting apimatic components schemas enum key postfix |
Suggested Fixes
- Remove any
Enum
(case-insensitive) postfix from the enumeration schema key.