Bloomberg L.P. · API Governance Rules
Bloomberg L.P. API Rules
Spectral linting rules defining API design standards and conventions for Bloomberg L.P..
Bloomberg L.P. API Rules is a Spectral governance ruleset published by Bloomberg L.P. on the APIs.io network, containing 8 lint rules.
The ruleset includes 3 error-severity rules, 4 warning-severity rules, and 1 info-severity rule.
Tagged areas include Financial Services, Market Data, News, Reference Data, and Symbology.
Rulesets can be applied to your own OpenAPI specs via Spectral to enforce the same governance standards.
8 Rules
error 3
warn 4
info 1
Rule Categories
openfigi
Rules
warn
openfigi-operation-summary-title-case
Operation summaries must use Title Case across the OpenFIGI API.
$.paths.*.*.summary
error
openfigi-operation-id-camel-case
Operation IDs should be lowerCamelCase verbs (e.g. mapIdentifiers).
$.paths.*.*.operationId
warn
openfigi-path-versioned
All paths should be hosted under the /v3 server, not include /v3 in the path itself.
$.paths
warn
openfigi-tag-title-case
Tags must be Title Case.
$.tags[*].name
error
openfigi-server-https
Servers must use HTTPS only.
$.servers[*].url
error
openfigi-apikey-header-name
The OpenFIGI API key header is X-OPENFIGI-APIKEY.
$.components.securitySchemes[?(@.type == 'apiKey')]
warn
openfigi-error-responses-required
Every operation must document at least 400, 429, and 5xx responses.
$.paths.*.*.responses
info
openfigi-figi-pattern
FIGI string properties should declare the BBG[A-Z0-9]{9} pattern.
$.components.schemas.FigiRecord.properties.figi