This API definition validation report for apimatic was compiled on December 03, 2026. It provides a summary of the validation results for all involved API definitions.
APIMatic is a Developer Experience platform for Web APIs, offering auto-generated SDKs, usage examples, and interactive documentation. Our goal is to streamline API onboarding and adoption.
APIMatic ensures API specifications are syntactically and semantically correct to generate high-quality documentation and SDKs. This report details the validation results, highlighting any blockers that must be resolved. Visit our official documentation for more information.
To resolve issues or re-validate API definitions, use our VS Code extension Fix My OpenAPI, which offers dedicated views and other features for improving API definitions.
For queries or concerns, reach out to us at support@apimatic.io .
This report analyzes an API named Sales which is defined using the specification format OpenAPI v3.0 (YAML). The files involved are listed below:
| # | File Path | File Specification Format |
|---|---|---|
| 1 |
sales/sales.yaml
|
OpenAPI v3.0 (YAML) (Main File) |
No validation issues were found.
A total no. of 12 lint issues were found which are listed below:
| Rule Id |
valid-info-version
|
| Ruleset Id |
openapi-v3-apimatic-syntax-linting
|
| Type of Issue | Syntax |
| Broad Category of Issue | OpenAPI Info |
| Possible Impact On Output Of |
API Transformer
, Code Generation, Developer Experience Portal |
The API version specified in the info object must be non-null, non-empty and follow semantic versioning rules.
sales/sales.yaml
, Line No: 7, Line Pos: 12 - Line No: 7, Line Pos: 14, Path: # > info > version
| Rule Id |
required-environment-information
|
| Ruleset Id |
openapi-v3-agentic-tools-linting
|
| Type of Issue | Semantic |
| Broad Category of Issue | OpenAPI Info |
| Possible Impact On Output Of |
Agentic Tools Generation
, Code Generation, Developer Experience Portal |
To optimize agentic tools output, provide environment-specific details for each server defined in the OpenAPI document. This is best achieved using APIMatic's `x-server-configuration` extension, which helps distinguish production, staging, and other environments.
sales/sales.yaml
, Line No: 11, Line Pos: 1 - Line No: 11, Line Pos: 8, Path: #
| Rule Id |
no-inline-enum-schema-definition
|
| Ruleset Id |
openapi-v3-apimatic-linting
|
| Type of Issue | Semantic |
| Broad Category of Issue | OpenAPI Schemas |
| Possible Impact On Output Of |
API Transformer
, Code Generation, Developer Experience Portal |
Either define a title property alongside the `enum` property or the schema definitions must be added globally in the components/schemas section with a unique name and then referenced throughout the API document with that name. Inline definitions of enum schemas are not recommended as for auto-generating SDKs/documentation the names of such schemas are deduced from the parent objects in which they are declared inline. The names deduced this way may not be user-friendly and can conflict with other definitions resulting in name duplication. This behavior can affect your output quality.
sales/sales.yaml
, Line No: 68, Line Pos: 11 - Line No: 68, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 3 > schema
sales/sales.yaml
, Line No: 83, Line Pos: 11 - Line No: 83, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 4 > schema
sales/sales.yaml
, Line No: 103, Line Pos: 11 - Line No: 103, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 6 > schema
| Rule Id |
required-schema-description
|
| Ruleset Id |
openapi-v3-agentic-tools-linting
|
| Type of Issue | Semantic |
| Broad Category of Issue | OpenAPI Schemas |
| Possible Impact On Output Of |
Agentic Tools Generation
, Developer Experience Portal |
Schema descriptions help agentic tools understand the purpose and structure of models. Include meaningful descriptions to improve generated code and AI reasoning.
sales/sales.yaml
, Line No: 33, Line Pos: 11 - Line No: 33, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 0 > schema
sales/sales.yaml
, Line No: 35, Line Pos: 13 - Line No: 35, Line Pos: 14, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 0 > schema > items
sales/sales.yaml
, Line No: 44, Line Pos: 11 - Line No: 44, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 1 > schema
sales/sales.yaml
, Line No: 55, Line Pos: 11 - Line No: 55, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 2 > schema
sales/sales.yaml
, Line No: 68, Line Pos: 11 - Line No: 68, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 3 > schema
sales/sales.yaml
, Line No: 83, Line Pos: 11 - Line No: 83, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 4 > schema
sales/sales.yaml
, Line No: 96, Line Pos: 11 - Line No: 96, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 5 > schema
sales/sales.yaml
, Line No: 103, Line Pos: 11 - Line No: 103, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 6 > schema
sales/sales.yaml
, Line No: 115, Line Pos: 11 - Line No: 115, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 7 > schema
sales/sales.yaml
, Line No: 123, Line Pos: 11 - Line No: 123, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 8 > schema
sales/sales.yaml
, Line No: 130, Line Pos: 11 - Line No: 130, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 9 > schema
| Rule Id |
at-least-one-component-reference
|
| Ruleset Id |
openapi-v3-apimatic-linting
|
| Type of Issue | Semantic |
| Broad Category of Issue | OpenAPI Components |
| Possible Impact On Output Of |
API Transformer
, Code Generation, Developer Experience Portal |
A component that is defined globally using the 'components' root object property must be referenced at least once by any other object in the API specification document. Referencing is performed using $ref.
sales/sales.yaml
, Line No: 165, Line Pos: 5 - Line No: 165, Line Pos: 16, Path: # > components > schemas
sales/sales.yaml
, Line No: 173, Line Pos: 5 - Line No: 173, Line Pos: 10, Path: # > components > schemas
sales/sales.yaml
, Line No: 175, Line Pos: 5 - Line No: 175, Line Pos: 22, Path: # > components > schemas
| Rule Id |
operation-optional-parameters-after-required-parameters
|
| Ruleset Id |
openapi-v3-codegen-linting
|
| Type of Issue | Semantic |
| Broad Category of Issue | OpenAPI Operations |
| Possible Impact On Output Of |
Code Generation
, Developer Experience Portal |
For code generation purposes, it is recommended that optional parameters should be defined at the end of the Operation Object `parameters` list and not before or between required parameters.
sales/sales.yaml
, Line No: 26, Line Pos: 7 - Line No: 26, Line Pos: 17, Path: # > paths > /sales/v4/orderMetrics > get
| Rule Id |
pre-defined-operation-tag-in-global-tags
|
| Ruleset Id |
openapi-v3-apimatic-linting
|
| Type of Issue | Semantic |
| Broad Category of Issue | OpenAPI Operations |
| Possible Impact On Output Of |
API Transformer
, Code Generation, Developer Experience Portal |
Each tag used in the API must be defined in the root level tags list of the API specification. This ensures that all tags used in the API are properly defined, which helps with documentation generation and other tooling. Please check the root level tags list and ensure that all tags used in the API are properly defined.
sales/sales.yaml
, Line No: 25, Line Pos: 9 - Line No: 25, Line Pos: 14, Path: # > paths > /sales/v4/orderMetrics > get > tags > 0
| Rule Id |
valid-openapi-file-naming-conventions
|
| Ruleset Id |
openapi-v3-standards-linting
|
| Type of Issue | Semantic |
| Broad Category of Issue | OpenAPI Root Information |
| Possible Impact On Output Of |
API Transformer
, Code Generation, Developer Experience Portal |
The root OpenAPI document is recommended to be named as either `openapi.json` or `openapi.yaml` depending upon the data format used in the file.
sales/sales.yaml
, Line No: 1, Line Pos: 1 - Line No: 1, Line Pos: 2, Path: #
| Rule Id |
schema-example-or-default-value-exists
|
| Ruleset Id |
openapi-v3-docsgen-linting
|
| Type of Issue | Semantic |
| Broad Category of Issue | OpenAPI Schemas |
| Possible Impact On Output Of |
Developer Experience Portal
|
Schema Object must specify a non-null, non-empty example value using the `example` property or a default value using the `default` property if applicable.
sales/sales.yaml
, Line No: 33, Line Pos: 11 - Line No: 33, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 0 > schema
sales/sales.yaml
, Line No: 35, Line Pos: 13 - Line No: 35, Line Pos: 14, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 0 > schema > items
sales/sales.yaml
, Line No: 44, Line Pos: 11 - Line No: 44, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 1 > schema
sales/sales.yaml
, Line No: 55, Line Pos: 11 - Line No: 55, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 2 > schema
sales/sales.yaml
, Line No: 68, Line Pos: 11 - Line No: 68, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 3 > schema
sales/sales.yaml
, Line No: 83, Line Pos: 11 - Line No: 83, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 4 > schema
sales/sales.yaml
, Line No: 96, Line Pos: 11 - Line No: 96, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 5 > schema
sales/sales.yaml
, Line No: 103, Line Pos: 11 - Line No: 103, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 6 > schema
sales/sales.yaml
, Line No: 115, Line Pos: 11 - Line No: 115, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 7 > schema
sales/sales.yaml
, Line No: 123, Line Pos: 11 - Line No: 123, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 8 > schema
sales/sales.yaml
, Line No: 130, Line Pos: 11 - Line No: 130, Line Pos: 12, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 9 > schema
sales/sales.yaml
, Line No: 160, Line Pos: 7 - Line No: 160, Line Pos: 8, Path: # > components > schemas > SuccessResponse
sales/sales.yaml
, Line No: 166, Line Pos: 7 - Line No: 166, Line Pos: 8, Path: # > components > schemas > RequestBody
sales/sales.yaml
, Line No: 176, Line Pos: 7 - Line No: 176, Line Pos: 8, Path: # > components > schemas > Common__ErrorList
sales/sales.yaml
, Line No: 194, Line Pos: 11 - Line No: 194, Line Pos: 12, Path: # > components > schemas > Common__ErrorList > properties > errors
sales/sales.yaml
, Line No: 219, Line Pos: 7 - Line No: 219, Line Pos: 8, Path: # > components > schemas > Common__ProblemDetail
sales/sales.yaml
, Line No: 223, Line Pos: 7 - Line No: 223, Line Pos: 8, Path: # > components > schemas > Common__ProblemInstance
sales/sales.yaml
, Line No: 228, Line Pos: 7 - Line No: 228, Line Pos: 8, Path: # > components > schemas > Common__Error
sales/sales.yaml
, Line No: 235, Line Pos: 11 - Line No: 235, Line Pos: 12, Path: # > components > schemas > Common__Error > properties > code
sales/sales.yaml
, Line No: 238, Line Pos: 11 - Line No: 238, Line Pos: 12, Path: # > components > schemas > Common__Error > properties > message
sales/sales.yaml
, Line No: 241, Line Pos: 11 - Line No: 241, Line Pos: 12, Path: # > components > schemas > Common__Error > properties > details
sales/sales.yaml
, Line No: 245, Line Pos: 11 - Line No: 245, Line Pos: 12, Path: # > components > schemas > Common__Error > properties > pointer
| Rule Id |
mediaType-example-or-examples-exist
|
| Ruleset Id |
openapi-v3-docsgen-linting
|
| Type of Issue | Semantic |
| Broad Category of Issue | OpenAPI Media Types |
| Possible Impact On Output Of |
Developer Experience Portal
|
Media Type Object must specify a non-null, non-empty example value using either the `example` or `examples` property.
sales/sales.yaml
, Line No: 136, Line Pos: 15 - Line No: 136, Line Pos: 16, Path: # > paths > /sales/v4/orderMetrics > get > responses > 200 > content > application/json
sales/sales.yaml
, Line No: 254, Line Pos: 11 - Line No: 254, Line Pos: 12, Path: # > components > responses > BadRequest > content > application/json
sales/sales.yaml
, Line No: 260, Line Pos: 11 - Line No: 260, Line Pos: 12, Path: # > components > responses > Forbidden > content > application/json
sales/sales.yaml
, Line No: 266, Line Pos: 11 - Line No: 266, Line Pos: 12, Path: # > components > responses > NotFound > content > application/json
sales/sales.yaml
, Line No: 272, Line Pos: 11 - Line No: 272, Line Pos: 12, Path: # > components > responses > TooManyRequests > content > application/json
sales/sales.yaml
, Line No: 278, Line Pos: 11 - Line No: 278, Line Pos: 12, Path: # > components > responses > InternalServerError > content > application/json
| Rule Id |
parameter-example-or-examples-exist
|
| Ruleset Id |
openapi-v3-docsgen-linting
|
| Type of Issue | Semantic |
| Broad Category of Issue | OpenAPI Parameters |
| Possible Impact On Output Of |
Developer Experience Portal
|
Parameter Object must specify a non-null, non-empty example value using either the `example` or `examples` property.
sales/sales.yaml
, Line No: 27, Line Pos: 9 - Line No: 27, Line Pos: 10, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 0
sales/sales.yaml
, Line No: 36, Line Pos: 9 - Line No: 36, Line Pos: 10, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 1
sales/sales.yaml
, Line No: 45, Line Pos: 9 - Line No: 45, Line Pos: 10, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 2
sales/sales.yaml
, Line No: 56, Line Pos: 9 - Line No: 56, Line Pos: 10, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 3
sales/sales.yaml
, Line No: 76, Line Pos: 9 - Line No: 76, Line Pos: 10, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 4
sales/sales.yaml
, Line No: 88, Line Pos: 9 - Line No: 88, Line Pos: 10, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 5
sales/sales.yaml
, Line No: 97, Line Pos: 9 - Line No: 97, Line Pos: 10, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 6
sales/sales.yaml
, Line No: 107, Line Pos: 9 - Line No: 107, Line Pos: 10, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 7
sales/sales.yaml
, Line No: 116, Line Pos: 9 - Line No: 116, Line Pos: 10, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 8
sales/sales.yaml
, Line No: 124, Line Pos: 9 - Line No: 124, Line Pos: 10, Path: # > paths > /sales/v4/orderMetrics > get > parameters > 9
| Rule Id |
security-scheme-description-exists
|
| Ruleset Id |
openapi-v3-docsgen-linting
|
| Type of Issue | Semantic |
| Broad Category of Issue | OpenAPI Security Schemes |
| Possible Impact On Output Of |
Developer Experience Portal
|
Security Scheme Object should have a non-null and non-empty description.
sales/sales.yaml
, Line No: 151, Line Pos: 7 - Line No: 151, Line Pos: 8, Path: # > components > securitySchemes > sellerAuth