AppLovin · API Governance Rules
AppLovin API Rules
Spectral linting rules defining API design standards and conventions for AppLovin.
28 Rules
error 11
warn 15
info 2
Rule Categories
applovin
Rules
warn
applovin-info-title-prefix
API title should start with "AppLovin" to match provider naming.
$.info
error
applovin-info-version-required
API spec must declare a version.
$.info
warn
applovin-info-description-required
API spec must include a non-trivial description.
$.info
info
applovin-info-contact-required
API spec should include contact info.
$.info
error
applovin-openapi-version
Use OpenAPI 3.0.x.
$
error
applovin-servers-https
All servers must use HTTPS.
$.servers[*]
warn
applovin-servers-applovin-host
Server hosts should resolve to applovin.com or axon.ai domains.
$.servers[*]
error
applovin-paths-no-trailing-slash
Paths must not have a trailing slash.
$.paths
warn
applovin-paths-snake-case
AppLovin paths use snake_case segments (e.g. /ad_unit, /creative_set).
$.paths
error
applovin-operation-operationid
Every operation must have a camelCase operationId.
$.paths[*][get,post,put,patch,delete]
error
applovin-operation-summary
Every operation must have a Title Case summary.
$.paths[*][get,post,put,patch,delete]
warn
applovin-operation-description
Every operation must have a description.
$.paths[*][get,post,put,patch,delete]
warn
applovin-operation-tags
Every operation must have at least one tag.
$.paths[*][get,post,put,patch,delete]
info
applovin-operation-microcks-extension
Operations should declare x-microcks-operation for mock dispatch.
$.paths[*][get,post,put,patch,delete]
warn
applovin-tags-defined
Tags should be declared globally with descriptions.
$.tags
warn
applovin-tags-title-case
Tag names must be Title Case.
$.tags[*]
warn
applovin-parameter-description
Every parameter must have a description.
$.paths[*][*].parameters[*]
warn
applovin-parameter-snake-case
Parameter names use snake_case.
$.paths[*][*].parameters[?(@.in=='query' || @.in=='path')]
error
applovin-parameter-schema-type
Every parameter must declare a schema with a type.
$.paths[*][*].parameters[*].schema
error
applovin-response-success
Every operation must define a 2xx response.
$.paths[*][get,post,put,patch,delete].responses
warn
applovin-response-unauthorized
Authenticated operations should declare 401.
$.paths[*][get,post,put,patch,delete].responses
warn
applovin-response-description
Every response must have a description.
$.paths[*][*].responses[*]
warn
applovin-schema-snake-case-property
Schema property names must be snake_case.
$.components.schemas[*].properties
error
applovin-schema-property-type
Every schema property must have a type or $ref.
$.components.schemas[*].properties[*]
error
applovin-security-defined
Security schemes must be defined.
$
warn
applovin-security-global
Top-level security must be defined.
$
error
applovin-get-no-body
GET operations must not have a request body.
$.paths[*].get
warn
applovin-post-body
POST operations should have a request body.
$.paths[*].post