Skip to main content

no-trailing-leading-spaces-in-test-case-name

Overview

This rule belongs to the openapi-v3-codegen-syntax-linting ruleset and states that:

The test case's name should not contain any leading or trailing white-space characters.'

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageLeading or trailing white-space characters found in operation unit test case name.
CodeOPENAPI3CODEGENSYNTAX_L341
TypeLinting
Rule SystemSyntax
Broad CategoryOpenAPI Operation Test Cases
Products ImpactedCode Generation, Developer Experience Portal
Tagscode generation sdks openapi3 openapi syntax linting apimatic test case name leading trailing whitespace character codegen setting

Suggested Fixes

  • Remove all leading or trailing white-space characters such as spaces, tabs, or line breaks from test case name.

For More Information