University of Chile · API Governance Rules
University of Chile API Rules
Spectral linting rules defining API design standards and conventions for University of Chile.
6 Rules
error 2
warn 3
info 1
Rule Categories
uchile
Rules
error
uchile-info-title
The OpenAPI document should declare an info.title.
$.info
error
uchile-info-version
The OpenAPI document should declare an info.version.
$.info
warn
uchile-servers-https
Public Dataverse server URLs should use HTTPS, not internal hostnames.
$.servers[*].url
info
uchile-paths-versioned
Dataverse native API paths are versioned under /api/v1.
$.paths[*]~
warn
uchile-operation-id
Every operation should carry an operationId for tooling and SDK generation.
$.paths[*][get,post,put,delete,patch]
warn
uchile-get-responses
GET operations should document at least one response.
$.paths[*].get