Johns Hopkins University · API Governance Rules
Johns Hopkins University API Rules
Spectral linting rules defining API design standards and conventions for Johns Hopkins University.
6 Rules
error 3
warn 2
info 1
Rule Categories
jhu
Rules
warn
jhu-info-contact
API info should include a contact pointing to the SIS help page.
$.info
error
jhu-server-https
SIS servers must use HTTPS on the sis.jhu.edu host.
$.servers[*].url
error
jhu-requires-api-key
Every operation must require the apiKey security scheme.
$.paths[*][get]
error
jhu-key-query-param
The API key is passed via the query parameter named "key".
$.components.securitySchemes.apiKey
warn
jhu-operationid-present
Operations should declare an operationId.
$.paths[*][get]
info
jhu-pascalcase-properties
Course/section field names use PascalCase as returned by SIS.
$.components.schemas.Course.properties.*~