Skip to content

feat(docs): Update Middleware Documentation - #1540

Draft
probelabs[bot] wants to merge 81 commits into
mainfrom
feat/update-middleware-docs-99
Draft

feat(docs): Update Middleware Documentation#1540
probelabs[bot] wants to merge 81 commits into
mainfrom
feat/update-middleware-docs-99

Conversation

@probelabs

@probelabs probelabs Bot commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

This PR enhances the 'Traffic Transformation' page to serve as a high-level overview for API owners and general users. It also introduces a new, comprehensive 'Plugin Developer Guide' with an exhaustive table of all built-in middleware in the Tyk Gateway.

buger added 2 commits March 3, 2026 15:35
This commit enhances the 'Traffic Transformation' page to serve as a high-level overview for API owners and general users. It also introduces a new, comprehensive 'Plugin Developer Guide' with an exhaustive table of all built-in middleware in the Tyk Gateway.
@github-actions

github-actions Bot commented Mar 3, 2026

Copy link
Copy Markdown

Failed to generate code suggestions for PR

For information on how to write plugins in a specific language, see the following guides:

* [Go Plugins](/api-management/plugins/golang)
* [Python Plugins](/api-management/plugins/python)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* [Python Plugins](/api-management/plugins/python)

Comment thread api-management/plugins/plugin-developer-guide.mdx Outdated

| Middleware | Execution Stage | Session Access | Context Vars Access | Metadata Access | Configurable |
| :--- | :--- | :--- | :--- | :--- | :--- |
| VersionCheck | Pre | No | Yes | No | Yes |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add custom plugin hooks in this so we can see where the execute relatively speaking


The Tyk Gateway processes requests in five distinct stages. The following diagram illustrates the middleware execution chain and shows where custom plugins can be injected.

![Tyk Middleware Execution Chain](/assets/images/middleware-chain.png)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this image exist?


![Tyk Middleware Execution Chain](/assets/images/middleware-chain.png)

## Built-in Middleware Reference

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit confusing between this page and the other page.
Maybe we need a dedicated built-in middleware page?

- Restructures middleware documentation based on feedback.
- Creates a dedicated page for the built-in middleware reference table.
- Adds custom plugin hooks to the middleware table for clarity on execution order.
- Updates the plugin developer guide to be a higher-level overview, linking to the new reference page.
- Fixes broken image links for the middleware execution chain diagram.
- Updates navigation in docs.json to include the new and updated pages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants