National Yang Ming Chiao Tung University · API Governance Rules
National Yang Ming Chiao Tung University API Rules
Spectral linting rules defining API design standards and conventions for National Yang Ming Chiao Tung University.
5 Rules
error 1
warn 2
info 2
Rule Categories
nycu
Rules
warn
nycu-info-block
API must declare a title, description and version.
$.info
error
nycu-server-is-public-https
Servers should point at the public NYCU Dataverse host over HTTPS, not an internal container hostname.
$.servers[*].url
info
nycu-paths-versioned
Dataverse Native and Search API paths are versioned under /api/v1.
$.paths
warn
nycu-operation-has-operationid
Every operation should carry an operationId for tooling and SDK generation.
$.paths[*][get,put,post,delete,patch]
info
nycu-schemas-described
Reusable component schemas should be objects with defined properties.
$.components.schemas[*]