Skip to content

Configuration Schema

Properties

NameTypeDescriptionRequired
autoloadbooleanEnables automatic plugin loading from plugins.
Default: true
no
logLevelstringControls CLI log verbosity.
Default: "warn"
Enum: "trace", "debug", "info", "warn", "error", "silent"
no
specificationsobject[]API descriptions to load (usually OpenAPI files).
Default:
no
trafficobject[]Recorded traffic inputs used by thymian analyze.
Default:
no
ruleSetsstring[]Rule set packages to load.
Default: "@thymian/rules-rfc-9110", "@thymian/rules-api-description-validation"
no
ruleSeveritystringMinimum rule severity threshold.
Default: "error"
Enum: "off", "error", "warn", "hint"
no
targetUrlstringBase URL used for live API testing workflows. When set, all requests are sent to this origin instead of the servers defined in the specification.
no
rulesobjectPer-rule configuration/overrides. Each key is a rule ID. The value can be a severity string (off | error | warn | hint) or a rule config object.
Default: {}
no
pluginsobjectPlugin registrations and plugin options. This is the only required top-level key.
yes

Additional Properties: not allowed
Example

{
"autoload": true,
"logLevel": "warn",
"specifications": [],
"traffic": [],
"ruleSets": [
"@thymian/rules-rfc-9110",
"@thymian/rules-api-description-validation"
],
"ruleSeverity": "error",
"rules": {},
"plugins": {}
}

specifications[]: array

Items

Item Properties

NameTypeDescriptionRequired
typestringSpecification format, for example openapi.
yes
locationFile path or supported path source.
yes
optionsobjectSpecification-specific options.
no

Item Additional Properties: not allowed

specifications[].options: object

Additional Properties: allowed

traffic[]: array

Items

Item Properties

NameTypeDescriptionRequired
typestringTraffic source format, for example fixture.
yes
locationFile path or supported path source.
yes
optionsobjectTraffic-specific options.
no

Item Additional Properties: not allowed

traffic[].options: object

Additional Properties: allowed

ruleSets[]: array

Items

Item Type: string
Example

[
"@thymian/rules-rfc-9110",
"@thymian/rules-api-description-validation"
]

rules: object

Additional Properties

NameTypeDescriptionRequired
Additional Properties

plugins: object

Additional Properties

NameTypeDescriptionRequired
Additional Propertiesobject

plugins.additionalProperties: object

Properties

NameTypeDescriptionRequired
pathstringExplicit module/file path.
verbosebooleanEnable verbose logging for this plugin.
autoloadbooleanWhen set to false, this plugin is skipped even though it is listed under plugins.
Default: true
optionsobjectPlugin-specific options.

Additional Properties: not allowed
Example

{
"autoload": true,
"options": {}
}

plugins.additionalProperties.options: object

Additional Properties: allowed