Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageInvalid operation scheme found.
CodeSWAGGER20STANDARDS_V069
TypeValidation
Rule SystemSemantic
Broad CategoryOperations
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsswagger2 swagger standards semantic validation schemes scheme operation

Suggested Fixes

  • Ensure that the scheme entered is only from the list mentioned.

For More Information