University of Zurich · API Governance Rules
University of Zurich API Rules
Spectral linting rules defining API design standards and conventions for University of Zurich.
5 Rules
error 2
warn 3
Rule Categories
uzh
Rules
warn
uzh-info-contact
Info object should reference the identity provider contact.
$.info
error
uzh-https-servers
All servers must use HTTPS, matching the edu-ID issuer.
$.servers[*].url
warn
uzh-oidc-security-scheme
An OpenID Connect security scheme should be defined for edu-ID flows.
$.components.securitySchemes
error
uzh-operation-ids
Every operation should declare an operationId.
$.paths[*][get,post,put,delete,patch]
warn
uzh-pkce-s256
The authorize endpoint should advertise PKCE with the S256 method, the only code_challenge_method supported by SWITCH edu-ID.
$.paths['/idp/profile/oidc/authorize'].get.parameters[?(@.name=='code_challenge_method')].schema.enum