Xweather · API Governance Rules
Xweather API Rules
Spectral linting rules defining API design standards and conventions for Xweather.
11 Rules
error 4
warn 6
Rule Categories
xweather
Rules
error
xweather-operation-has-summary
All Xweather API operations must have a summary.
$.paths[*][get,post,put,delete,patch]
warn
xweather-operation-has-tags
All Xweather API operations must be tagged.
$.paths[*][get,post,put,delete,patch]
error
xweather-operation-has-operation-id
All operations must have an operationId.
$.paths[*][get,post,put,delete,patch]
warn
xweather-operation-has-description
All Xweather operations must include a description explaining the data returned.
$.paths[*][get,post,put,delete,patch]
error
xweather-response-200-present
All GET operations must define a 200 success response.
$.paths[*].get
warn
xweather-path-uses-kebab-case
All path segments must use kebab-case.
$.paths
warn
xweather-operation-id-camel-case
operationId values should use camelCase.
$.paths[*][get,post,put,delete,patch].operationId
warn
xweather-tags-title-case
Tags must use Title Case.
$.tags[*].name
warn
xweather-info-has-contact
API info must include contact information.
$.info
hint
xweather-schemas-have-descriptions
All schema properties should have descriptions.
$.components.schemas[*].properties[*]
error
xweather-success-response-has-content
Success responses must define content.
$.paths[*][*].responses[200,201]
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for spectral rules
4 MCP tools reach this
find_rulesBrowse and filter every ruleset in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/xweather-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.