Nanyang Technological University · API Governance Rules
Nanyang Technological University API Rules
Spectral linting rules defining API design standards and conventions for Nanyang Technological University.
7 Rules
error 2
warn 5
Rule Categories
ntu
Rules
warn
ntu-info-contact
API info should declare a contact for the NTU repository team.
$.info
warn
ntu-info-version
Info version should be present (DR-NTU surfaces platform version).
$.info
error
ntu-https-servers
All NTU server URLs must use HTTPS.
$.servers[*].url
warn
ntu-server-host
Servers should point at an ntu.edu.sg host.
$.servers[*].url
error
ntu-operation-id
Every operation should declare an operationId.
$.paths[*][get,post,put,delete,patch]
warn
ntu-operation-tags
Operations should be tagged for grouping.
$.paths[*][get,post,put,delete,patch]
warn
ntu-2xx-response
Each operation should document a success response.
$.paths[*][get,post,put,delete,patch].responses