Spaceflight News API · API Governance Rules
Spaceflight News API API Rules
Spectral linting rules defining API design standards and conventions for Spaceflight News API.
9 Rules
error 1
warn 5
info 3
Rule Categories
snapi
Rules
warn
snapi-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
warn
snapi-operation-id-camel-case
All operationIds must use camelCase
$.paths[*][*].operationId
warn
snapi-tags-title-case
All tags must use Title Case
$.tags[*].name
info
snapi-paths-trailing-slash
SpaceAPI Django-based paths use trailing slashes
$.paths[*]~
warn
snapi-list-endpoints-have-pagination
List endpoints should have limit and offset parameters
$.paths[*].get
warn
snapi-response-must-have-description
All responses must have a description
$.paths[*][*].responses[*]
info
snapi-schema-properties-have-descriptions
Schema properties should have descriptions
$.components.schemas[*].properties[*]
error
snapi-servers-must-be-https
All server URLs must use HTTPS
$.servers[*].url
info
snapi-api-versioned-path
API base path should include version prefix
$.servers[*].url