schema-title-exceeds-maximum-allowed-length
Overview
This rule belongs to the openapi-v3-codegen-linting ruleset and states that:
The title assigned to the Schema Object must not exceed 100 characters. Titles exceeding this limit will cause failures in Code Generation, Docs Generation, and Portal Generation.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Schema title exceeds the maximum allowed length of 100 characters. |
| Code | OPENAPI3CODEGEN_L624 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | OpenAPI Schemas |
| Products Impacted | Code Generation, Developer Experience Portal |
| Tags | code generation sdks openapi3 openapi semantic linting apimatic length title schema 100 |
Suggested Fixes
- Shorten the schema title so that it doesn't exceed 100 characters.
- Try to keep the title under 50 characters for best results.
- Place any extra details about the schema in the
descriptionproperty instead.