University of Rochester · API Governance Rules
University of Rochester API Rules
Spectral linting rules defining API design standards and conventions for University of Rochester.
5 Rules
warn 4
info 1
Rule Categories
urrr
Rules
warn
urrr-server-is-figshare-v2
Servers should target the Figshare v2 API base URL.
$.servers[*].url
info
urrr-public-get-no-auth
Public GET endpoints (articles, collections, projects) should be openly readable.
$.paths[?(@property.match(/^\/(articles|collections|projects)/))].get
warn
urrr-article-has-doi
The Article schema must define id, doi and url fields.
$.components.schemas.Article.properties
warn
urrr-collection-has-doi
The Collection schema must define id, doi and title fields.
$.components.schemas.Collection.properties
warn
urrr-oauth2-defined
An OAuth2 security scheme should be defined for account/write operations.
$.components.securitySchemes