fal · API Governance Rules
fal API Rules
Spectral linting rules defining API design standards and conventions for fal.
8 Rules
error 1
warn 5
info 2
Rule Categories
fal
Rules
warn
fal-server-must-be-queue-fal-run
fal Model APIs must be served from https://queue.fal.run.
$.servers[*].url
error
fal-security-must-use-key-auth
fal APIs authenticate with `Authorization: Key $FAL_KEY`.
$.components.securitySchemes[*]
warn
fal-summary-title-case
Operation summaries should use Title Case per API Evangelist convention.
$.paths[*][get,post,put,delete,patch].summary
warn
fal-operation-id-camel-case
operationId should be lowerCamelCase.
$.paths[*][get,post,put,delete,patch].operationId
info
fal-queue-path-shape
Queue paths should follow /{model_owner}/{model_name}[/requests/{request_id}[/status|/cancel]].
$.paths
warn
fal-queue-status-enum
Queue status must use IN_QUEUE / IN_PROGRESS / COMPLETED / FAILED / CANCELED.
$.components.schemas[?(@property=='QueueStatusResponse')].properties.status.enum
warn
fal-tag-must-exist
Operations must declare at least one tag.
$.paths[*][get,post,put,delete,patch].tags
info
fal-asset-urls-from-fal-media
Output asset URLs should be served from v3.fal.media.
$.components.schemas..url.example