Reserve Requirements · API Governance Rules
Reserve Requirements API Rules
Spectral linting rules defining API design standards and conventions for Reserve Requirements.
10 Rules
error 4
warn 4
info 2
Rule Categories
fred
Rules
error
fred-api-key-required
All FRED API operations must include the api_key parameter.
$.paths[*][get,post]
error
fred-operation-id
All operations must have an operationId.
$.paths[*][get,post,put,patch,delete]
error
fred-operation-summary
All operations must have a summary.
$.paths[*][get,post,put,patch,delete]
warn
fred-operation-tags
All operations must have at least one tag.
$.paths[*][get,post,put,patch,delete]
info
fred-file-type-param
All FRED operations should support file_type parameter.
$.paths[*][get]
error
fred-response-200
All GET operations should have a 200 success response.
$.paths[*].get
warn
fred-response-schema
Success responses should reference a schema.
$.paths[*].get.responses['200'].content
warn
fred-json-content-type
All responses should support application/json.
$.paths[*][*].responses['200'].content
warn
fred-tags-title-case
All tags must use Title Case.
$.tags[*].name
info
fred-series-id-described
series_id parameters should have descriptions with example FRED series IDs.
$.paths[*][*].parameters[?(@.name == 'series_id')]