Skip to main content

required-paths

Overview

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

The API specification must define at least one endpoint path. Endpoint paths represent the URLs that clients can use to interact with the API.

PropertyValue
EnabledYes
Maximum SeverityError
MessageNo endpoint path found in the specification.
CodeOPENAPI3CODEGEN_L001
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Root Information
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagscode generation sdks openapi3 openapi semantic linting apimatic no endpoint path

Suggested Fixes

  • Define paths under the paths section.
  • Add the missing endpoint paths to the specification, ensuring they follow the correct URL pattern and use appropriate HTTP methods.

For More Information