Harbin Institute of Technology · API Governance Rules
Harbin Institute of Technology API Rules
Spectral linting rules defining API design standards and conventions for Harbin Institute of Technology.
5 Rules
warn 4
info 1
Rule Categories
hit
Rules
warn
hit-info-contact
API info object should include a contact for the HIT research portal.
$.info
warn
hit-server-scholar-host
Servers should point at the scholar.hit.edu.cn Pure web services host.
$.servers[*].url
warn
hit-apikey-security
Pure API requires api-key header security.
$.components.securitySchemes
warn
hit-list-result-shape
List result schemas should expose count and items, matching Pure conventions.
$.components.schemas[?(@property.match(/ListResult$/))].properties
info
hit-uuid-path-param
Single-resource paths use a uuid path parameter.
$.paths[?(@property.match(/{uuid}$/))]