mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-09 04:21:15 +00:00
* docs: Add resolve config reference * docs: Start API reference, needs child config entries * docs: Add sidebar entries for config reference pages * docs: Add rules and decorators config pages * docs: Fix links and format * docs: Fix links and formatting * docs: Add extends and plugins config reference pages * docs: Add a basic preprocessor page * docs: Update from review feedback * Apply suggestions from code review Co-authored-by: Heather Cloward <heathercloward@gmail.com> * docs: Reformat required labels * Apply suggestions from code review Co-authored-by: Heather Cloward <heathercloward@gmail.com> * docs: Fix misspelling --------- Co-authored-by: Heather Cloward <heathercloward@gmail.com>
17 lines
644 B
Markdown
17 lines
644 B
Markdown
# `preprocessors`
|
|
|
|
## Introduction
|
|
|
|
Preprocessors are similar to decorators, but they run before linting rather than after.
|
|
|
|
Refer to the [`decorator` configuration options](./decorators.md) documentation for details; the options available are the same in both the `decorators` and `preprocessor` sections of the configuration file.
|
|
|
|
## Related options
|
|
|
|
- [decorators](./decorators.md) offer some transformations for your OpenAPI documents.
|
|
- [plugins](./plugins.md) allow code extensions to extend the existing functionality.
|
|
|
|
## Resources
|
|
|
|
- [Custom plugins](../../custom-plugins/index.md) offer a way to extend the functionality of Redocly.
|