Al-Farabi Kazakh National University · API Governance Rules
Al-Farabi Kazakh National University API Rules
Spectral linting rules defining API design standards and conventions for Al-Farabi Kazakh National University.
6 Rules
error 1
warn 3
info 2
Rule Categories
kaznu
Rules
warn
kaznu-info-contact
Open edX API at KazNU should expose a contact email (observed [email protected]).
$.info
error
kaznu-https-server
Servers must use HTTPS as observed for open.kaznu.kz.
$.servers[*].url
warn
kaznu-operation-id
Every operation should carry an operationId (the Open edX spec provides them).
$.paths[*][get,post,put,patch,delete]
warn
kaznu-operation-tags
Operations should be tagged by Open edX subsystem (courses, enrollment, grades, etc.).
$.paths[*][get,post,put,patch,delete]
info
kaznu-basic-auth-scheme
A Basic auth security scheme is expected as observed in the source spec.
$.components.securitySchemes
info
kaznu-course-id-string
course_id properties are opaque string identifiers (e.g. course-v1:Org+Course+Run).
$.components.schemas[*].properties.course_id