# harvested from https://github.com/neynarxyz/OAS/blob/6c6307dbdbc26ee81647588ea0c385ea7a8efc88/.spectral.yaml on 2026-10-09 — a Spectral ruleset published in the provider's own GitHub repository (neynarxyz/OAS); found by GitHub code search, fetched verbatim x-method: harvested x-stamped: 2026-10-09 x-source-url: https://github.com/neynarxyz/OAS/blob/6c6307dbdbc26ee81647588ea0c385ea7a8efc88/.spectral.yaml extends: "spectral:oas" rules: # Example: Enforce operation descriptions operation-description: description: "Operations must have a non-empty description." severity: error given: "$.paths[*][*]" then: field: description function: truthy # Example: Enforce usage of HTTPS in servers server-https: description: "Servers MUST use HTTPS." message: "The URL '{{value}}' does not use HTTPS." severity: error given: "$.servers[*].url" then: function: pattern functionOptions: match: '^https://' # Example: Disallow unused components unused-components: description: "All components must be referenced." severity: warn given: "$.components.*.*" then: function: unreferencedReusableObject functionOptions: reusableObjectsLocation: '#/components'