OpenAPI Schema Names Pascal Case Error (Edit)

Schema names are pascal case, keeping the naming of them consistent across APIs, standardizing how consumers can use in their applications

OpenAPISchemaMetadata

Rule Definition

openapi-schema-names-pascal-case-error.yaml
{"openapi-schema-names-pascal-case-error":{"description":"Schema names are pascal case, keeping the naming of them consistent across APIs, standardizing how consumers can use in their applications","message":"Schema Names MUST Be PascalCase.","severity":"error","given":"$.components.schemas","then":[{"field":"@key","function":"pattern","functionOptions":{"match":"^[A-Z](([a-z]+[A-Z]?)*)$"}},{"field":"@key","function":"pattern","functionOptions":{"match":"^[A-Z](([a-z0-9]+[A-Z]?)*)$"}}]}}

Back to All of the Rules