Yardi · API Governance Rules
Yardi API Rules
Spectral linting rules defining API design standards and conventions for Yardi.
10 Rules
error 2
warn 8
Rule Categories
yardi
Rules
warn
yardi-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
warn
yardi-operation-id-camel-case
All operationIds must use camelCase
$.paths[*][*].operationId
error
yardi-must-have-operation-id
All operations must have an operationId
$.paths[*][get,post,put,patch,delete]
warn
yardi-must-have-tags
All operations must have at least one tag
$.paths[*][get,post,put,patch,delete]
warn
yardi-post-must-have-request-body
POST operations for imports must have a request body
$.paths[*][post]
warn
yardi-must-have-description
All operations must have a description
$.paths[*][get,post,put,patch,delete]
error
yardi-responses-must-have-200
All operations must have a 200 response
$.paths[*][get,post,put,patch,delete].responses
warn
yardi-responses-must-have-401
Authenticated operations must document 401 response
$.paths[*][get,post,put,patch,delete].responses
warn
yardi-must-have-contact
API must have contact information
$.info
warn
yardi-must-have-terms-of-service
API must have terms of service
$.info