University of Padua · API Governance Rules
University of Padua API Rules
Spectral linting rules defining API design standards and conventions for University of Padua.
5 Rules
error 2
warn 2
info 1
Rule Categories
padua
Rules
warn
padua-info-license
PHAIDRA API info should carry a license (the published spec declares Apache 2.0).
$.info
error
padua-servers-https
Servers must use the HTTPS PHAIDRA endpoint.
$.servers[*].url
info
padua-object-paths-use-pid
Object-scoped paths are addressed by a persistent identifier named {pid}.
$.paths[?(@property.match(/^\/object\/\{/))]~
error
padua-operations-have-responses
Every operation must define at least one response.
$.paths[*][get,post,put,delete,patch].responses
warn
padua-operations-tagged
Operations should be grouped with one of the PHAIDRA tags.
$.paths[*][get,post,put,delete,patch]