# harvested from https://github.com/twilio/twilio-oai/blob/141f1201b55abcc16b3aa8089e71c4a927326975/spectral.yaml on 2026-10-09 — a Spectral ruleset published in the provider's own GitHub repository (twilio/twilio-oai); found by GitHub code search, fetched verbatim x-method: harvested x-stamped: 2026-10-09 x-source-url: https://github.com/twilio/twilio-oai/blob/141f1201b55abcc16b3aa8089e71c4a927326975/spectral.yaml extends: spectral:oas rules: no-$ref-siblings: false component-name-rule: severity: error recommended: true message: Semantic error - Component names can only contain the characters A-Z a-z 0-9 - . _ given: $..components.schemas[*]~ then: function: pattern functionOptions: match: "^[a-zA-Z0-9\\.\\-_]+$" pascal-case-name-rule: severity: error recommended: true message: OperationId should be PascalCased. type: style given: "$.paths[*][get,post,put,delete,patch,options,head,trace].operationId" then: function: casing functionOptions: type: pascal require-openapi-rule: severity: error message: openapi field must be present with a non empty value given: $ then: field: openapi function: truthy operation-id-length-rule: severity: warn message: OperationID length should be between 4 and 50 given: "$.paths[*][get,post,put,delete,patch,options,head,trace].operationId" then: function: length functionOptions: max: 50 min: 4 # Disable example checks oas3-valid-media-example: off oas3-valid-schema-example: off