FOLIO · API Governance Rules
FOLIO API Rules
Spectral linting rules defining API design standards and conventions for FOLIO.
7 Rules
error 1
warn 4
info 2
Published by FOLIO
Served by the provider at https://github.com/folio-org/mod-quick-marc/blob/7b78e01e21ef2de1e65df4c6f9e0b58206c54e36/.spectral.yaml; the copy below was fetched from there.
Rule Categories
docs
Rules
warn
docs-descriptions
Descriptions should be provided for describable objects, such as `info`, `tags`, `operations`, `parameters`, and more.
#DescribableObjects
warn
docs-info-contact
`Info` object should include contact information.
$
info
docs-parameters-examples-or-schema
Path parameter must contain a defined schema or examples.
$.paths.parameters[*]
error
docs-summary
Path parameter must contain a defined schema or examples.
#PathItem[*]
info
docs-media-types-examples-or-schema
Media object must contain a defined schema or examples.
#MediaTypeObjects
warn
docs-tags-alphabetical
Tags are not in alphabetical order.
$
warn
docs-operation-tags
Operation must have at least one tag.
#OperationObject
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.