valid-operation-schemes
Overview
This rule belongs to the swagger-v2-standards-validation ruleset and states that:
The only valid transfer protocols applicable to the operation schemes, as per the Swagger v2.0 document, are: http, https, ws, wss.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Invalid operation scheme found. |
| Code | SWAGGER20STANDARDS_V069 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Operations |
| Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
| Tags | swagger2 swagger standards semantic validation schemes scheme operation |
Suggested Fixes
- Ensure that the scheme entered is only from the list mentioned.