Elhub · API Governance Rules
Elhub API Rules
Spectral linting rules defining API design standards and conventions for Elhub.
5 Rules
error 5
Published by Elhub
Served by the provider at https://github.com/elhub/flex-information-system/blob/141eb37366ceb3e725c62906026eb89b1db106df/.spectral.yaml; the copy below was fetched from there.
Rule Categories
elhub
flex
Rules
error
elhub-paths-snake-case
Paths must be snake_case.
$.paths[*]~
error
flex-operation-id-format
operationId format
$.paths[*][*].operationId
error
flex-operation-summary-format
operationId format
$.paths[*][*].summary
error
flex-reusable-links-snake-case
Reusable links name should be combination of snake_case and spinal-case. snake_case are used to reference resource and field, but it is separated by dash. NOTE: This naming standard assumes that all links are used to reference id on the target resource.
$.components.links[*]~
error
flex-links-snake-case
Links name must be snake_case
$.paths[*][*].responses[*].links[*]~
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.