← Back to directory

Lint an OpenAPI 2.0/3.0/3.1 document with the Spectral "oas" ruleset: naming, de...

https://code.halowerk.com/v1/openapi-style-lint

Overview

Lint an OpenAPI 2.0/3.0/3.1 document with the Spectral "oas" ruleset: naming, descriptions, tags, operationIds, servers, examples that contradict their schema, with line numbers.

Protocol x402 (POST)
Price $0.0040
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider code
Source bazaar
Indexed 2026-11-20 14:09:44

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "min_severity": "warn", "spec": "openapi: 3.0.3\ninfo: {title: Pets, version: \"1.0\"}\npaths:\n /pets/:\n get:\n responses:\n \"200\": {description: ok}\n" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "result": { "findings": [ { "column": 1, "line": 1, "message": "OpenAPI \"servers\" must be present and non-empty array.", "path": "", "rule": "oas3-api-servers", "severity": "warn" }, { "column": 6, "line": 2, "message": "Info object must have \"contact\" object.", "path": "info", "rule": "info-contact", "severity": "warn" }, { "column": 6, "line": 2, "message": "Info \"description\" must be present and non-empty string.", "path": "info", "rule": "info-description", "severity": "warn" }, { "column": 10, "line": 4, "message": "Path must not end with slash.", "path": "paths./pets/", "rule": "path-keys-no-trailing-slash", "severity": "warn" }, { "column": 9, "line": 5, "message": "Operation \"description\" must be present and non-empty string.", "path": "paths./pets/.get", "rule": "operation-description", "severity": "warn" }, { "column": 9, "line": 5, "message": "Operation must have \"operationId\".", "path": "paths./pets/.get", "rule": "operation-operationId", "severity": "warn" }, { "column": 9, "line": 5, "message": "Operation must have non-empty \"tags\" array.", "path": "paths./pets/.get", "rule": "operation-tags", "severity": "warn" } ], "rules_disabled": [], "ruleset": "spectral:oas (@stoplight/spectral-rulesets 1.23.0)", "spec_version": "3.0", "summary": { "error": 0, "hint": 0, "info": 0, "warn": 7 }, "truncated": false }, "service": "openapi-style-lint", "status": "success" }, "type": "json" }