IMDb-API · API Governance Rules
IMDb-API API Rules
Spectral linting rules defining API design standards and conventions for IMDb-API.
7 Rules
error 2
warn 5
Rule Categories
imdb
Rules
error
imdb-api-operation-id-camelcase
All operationIds MUST be camelCase (e.g. getTitle, searchMovie).
$.paths.*.*
warn
imdb-api-summary-title-case
Operation summaries MUST use Title Case.
$.paths.*.*.summary
warn
imdb-api-paths-versioned-via-language
Public paths MUST start with a two-letter language path segment or the /API/ shared root for tools.
$.paths
warn
imdb-api-apikey-in-path
Endpoints that require an API key MUST take it as a path or query parameter named apiKey.
$.paths..parameters[?(@.required==true)]
warn
imdb-api-tt-id-pattern
IMDb title id parameters MUST validate against ^tt\\d+$.
$.paths..parameters[?(@.name=='id' && @.in=='path')]
error
imdb-api-no-empty-tags
Operations MUST be tagged.
$.paths.*.*
warn
imdb-api-info-contact
info.contact MUST be present so consumers know who maintains the service.
$.info