Ubicloud · API Governance Rules
Ubicloud API Rules
Spectral linting rules defining API design standards and conventions for Ubicloud.
4 Rules
error 4
Published by Ubicloud
Served by the provider at https://github.com/ubicloud/ubicloud/blob/33a6864a3236158c3e5e59dffd35ead66a5bd1d7/openapi/.spectral.yml; the copy below was fetched from there.
Rule Categories
additional
default
responses
schemas
Rules
error
additional-properties-with-properties
Any element with properties also has additionalProperties false
$..[?(@ && @.properties)]
error
responses-required-with-properties
Any responses schema with properties also has required array
$.paths..responses..[?(@ && @.properties)]
error
schemas-required-with-properties
Any components/schemas schema with properties also has required array
$.components.schemas..[?(@ && @.properties)]
error
default-for-responses
Responses have default value `$ref: '#/components/responses/Error'`
$.paths[*][*][responses]
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.