We > Ultrarich · API Governance Rules
We > Ultrarich API Rules
Spectral linting rules defining API design standards and conventions for We > Ultrarich.
9 Rules
error 7
warn 2
Rule Categories
wegtultrarich
Rules
error
wegtultrarich-read-only
This API is read-only; only GET operations are permitted.
$.paths.*[?(@property === 'post' || @property === 'put' || @property === 'patch' || @property === 'delete' || @property === 'head' || @property === 'options' || @property === 'trace')]
error
wegtultrarich-no-auth-root
The API must remain free and unauthenticated.
$.security[*]
error
wegtultrarich-no-auth-operation
No operation may require authentication.
$.paths.*.*.security[*]
error
wegtultrarich-no-auth-schemes
No security schemes may be defined.
$.components.securitySchemes
error
wegtultrarich-license-cc-by
The published license must remain CC BY 4.0.
$.info.license
error
wegtultrarich-rate-limit-documented
Every operation must document its 429 rate-limit response.
$.paths.*.get.responses
error
wegtultrarich-base-url
The production server must remain the canonical versioned base URL.
$.servers[0]
warn
wegtultrarich-attribution-documented
The published attribution line must remain in the spec description.
$.info
warn
wegtultrarich-response-examples
Every 200 response should carry a sample payload so results are quotable.
$.paths.*.get.responses['200'].content['application/json']