non-empty-scheme-of-http-security-scheme
Overview
This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:
The scheme property specifies the HTTP authentication scheme to be used, such as basic, bearer, etc. The scheme property of an HTTP security scheme must not be empty or null.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | The scheme property of an HTTP security scheme is empty or null. |
| Code | OPENAPI3APIMATIC_L871 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | OpenAPI Security Schemes |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | openapi3 openapi apimatic semantic linting empty http security scheme |
Suggested Fixes
- Provide a non-null, non-empty and valid scheme value for the HTTP security scheme.