University of North Carolina at Chapel Hill · API Governance Rules
University of North Carolina at Chapel Hill API Rules
Spectral linting rules defining API design standards and conventions for University of North Carolina at Chapel Hill.
5 Rules
warn 2
info 2
Rule Categories
unc
Rules
warn
unc-dataverse-info-title
API title should identify the Dataverse API.
$.info.title
info
unc-dataverse-server-host
A server pointing at the UNC Dataverse instance should be declared.
$.servers[*].url
warn
unc-dataverse-operation-tags
Every operation should carry at least one tag (Dataverse groups operations by tag).
$.paths[*][get,post,put,delete,patch]
info
unc-dataverse-api-key-auth
Dataverse uses an X-Dataverse-key API token for authenticated operations.
$.components.securitySchemes
hint
unc-dataverse-paths-lowercase
Paths should be lower-case kebab/slash style as used throughout the Dataverse API.
$.paths