# Spectral linting for OpenAPI specs # # Usage: # spectral lint # spectral lint openapi.json --ruleset .spectral.yaml # # To lint the generated OpenAPI spec from the API: # curl "http://localhost:3000/xrpc/network.slices.openapi?slice=at://did:plc:example/network.slices.slice/example" | spectral lint - # extends: ["spectral:oas"]