Bloomberg L.P. · API Governance Rules
Bloomberg L.P. API Rules
Spectral linting rules defining API design standards and conventions for Bloomberg L.P..
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