arXiv · API Governance Rules
arXiv API Rules
Spectral linting rules defining API design standards and conventions for arXiv.
7 Rules
error 4
warn 3
Rule Categories
arxiv
Rules
error
error
arxiv-info-license
arXiv specs must point at the API Terms of Use as their license link.
$.info.license
error
arxiv-server-https
arXiv servers must be HTTPS (export.arxiv.org or oaipmh.arxiv.org).
$.servers[*].url
warn
arxiv-summary-title-case
All operation summaries must use Title Case.
$.paths[*][*].summary
error
arxiv-operation-id-required
Every operation must declare an operationId.
$.paths[*][get,post,put,patch,delete]
warn
arxiv-atom-response
Query API responses should advertise application/atom+xml or text/xml content.
$.paths[*][*].responses[*].content
warn
arxiv-tag-title-case
Tags must use Title Case.
$.tags[*].name