SpaceAPI · API Governance Rules
SpaceAPI API Rules
Spectral linting rules defining API design standards and conventions for SpaceAPI.
8 Rules
error 1
warn 6
info 1
Rule Categories
spaceapi
Rules
warn
spaceapi-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
warn
spaceapi-operation-id-camel-case
All operationIds must use camelCase
$.paths[*][*].operationId
warn
spaceapi-tags-title-case
All tags must use Title Case
$.tags[*].name
warn
spaceapi-operation-must-have-tags
Every operation must have at least one tag
$.paths[*][*]
warn
spaceapi-response-must-have-description
All responses must have a description
$.paths[*][*].responses[*]
info
spaceapi-schema-properties-have-descriptions
Schema properties should have descriptions
$.components.schemas[*].properties[*]
warn
spaceapi-info-contact
API must have contact information
$.info
error
spaceapi-servers-must-be-https
All server URLs must use HTTPS
$.servers[*].url