Skip to content

[TT-14838] 5.8.3 Gateway Update documentation #6629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

buger
Copy link
Member

@buger buger commented Jul 3, 2025

User description

Triggered by: lghiur

Included:

Tyk Gateway: true
Tyk Dashboard: false
Tyk MDCB false
Tyk Pump false

Intended for: master
Changes sourced from: release-5.8.3
Config info generator branch: main

Note: Gateway docs update for 5.8.3 (branch suffix: docs)

JIRA: https://tyktech.atlassian.net/browse/TT-14838


PR Type

Documentation


Description

  • Updated Gateway API version to 5.8.3 in Swagger file.

  • Added new configuration options to gateway config documentation.

    • Documented readiness check and graceful shutdown timeout.
    • Added gRPC round robin load balancing option.
  • Improved formatting and clarity in API and config docs.

  • Updated deprecation notice for ExternalOAuth support.


Changes diagram

flowchart LR
  A["gateway-swagger.yml"] -- "Update API version" --> B["gateway-config.md"]
  B -- "Add new config options" --> C["x-tyk-gateway.md"]
  C -- "Clarify & update deprecation notes" --> D["Documentation improvements"]
Loading

Changes walkthrough 📝

Relevant files
Documentation
gateway-swagger.yml
Bump Gateway API version to 5.8.3 in Swagger file               

tyk-docs/assets/others/gateway-swagger.yml

  • Updated API version from 5.8.0 to 5.8.3.
+1/-1     
gateway-config.md
Add and clarify new gateway configuration options               

tyk-docs/content/shared/gateway-config.md

  • Added documentation for readiness check endpoint config.
  • Added graceful shutdown timeout duration config.
  • Added gRPC round robin load balancing config option.
  • Clarified health check endpoint config description.
  • +22/-1   
    x-tyk-gateway.md
    Improve formatting and update deprecation notes in API docs

    tyk-docs/content/shared/x-tyk-gateway.md

  • Fixed code block formatting in proxy config example.
  • Clarified context variables middleware description.
  • Updated deprecation notice for ExternalOAuth support.
  • +5/-4     

    Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.
  • @buger buger force-pushed the update/TT-14838/release-master-docs branch from cf68346 to dd0ec7f Compare July 3, 2025 09:55
    Copy link
    Contributor

    github-actions bot commented Jul 3, 2025

    ⚠️ Deploy preview for PR #6629 did not become live after 3 attempts.
    Please check Netlify or try manually: Preview URL

    Copy link
    Contributor

    github-actions bot commented Jul 3, 2025

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    ⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ Recommended focus areas for review

    Documentation Accuracy

    The new configuration options for readiness check, graceful shutdown timeout, and gRPC round robin load balancing should be validated for accuracy and completeness. Ensure that the documented environment variables, types, and default values match the actual implementation.

    HealthCheckEndpointName Enables you to change the liveness endpoint.
    Default is "/hello"
    
    ### readiness_check_endpoint_name
    ENV: <b>TYK_GW_READINESSCHECKENDPOINTNAME</b><br />
    Type: `string`<br />
    
    ReadinessCheckEndpointName Enables you to change the readiness endpoint
    Default is "/ready"
    
    ### graceful_shutdown_timeout_duration
    ENV: <b>TYK_GW_GRACEFULSHUTDOWNTIMEOUTDURATION</b><br />
    Type: `int`<br />
    
    GracefulShutdownTimeoutDuration sets how many seconds the gateway should wait for an existing connection
    to finish before shutting down the server. Defaults to 30 seconds.
    Deprecation Notice Clarity

    The deprecation notice for ExternalOAuth has been updated. Confirm that the language is clear and consistent with other deprecation notices, and that it accurately reflects the product's deprecation policy.

    Deprecated: ExternalOAuth support has been deprecated from 5.7.0.
    To avoid any disruptions, we recommend that you use JSON Web Token (JWT) instead,

    Copy link
    Contributor

    github-actions bot commented Jul 3, 2025

    PR Code Suggestions ✨

    No code suggestions found for the PR.

    Copy link

    netlify bot commented Jul 3, 2025

    PS. Add to the end of url /docs/nightly

    Name Link
    🔨 Latest commit 843649a
    🔍 Latest deploy log https://app.netlify.com/projects/tyk-docs/deploys/6867d506ff4c680008c14d85
    😎 Deploy Preview https://deploy-preview-6629--tyk-docs.netlify.app
    📱 Preview on mobile
    Toggle QR Code...

    QR Code

    Use your smartphone camera to open QR code link.

    To edit notification comments on pull requests, go to your Netlify project configuration.

    @lghiur lghiur changed the title [TT-14838] Update documentation for master [TT-14838] 5.8.3 Gateway Update documentation Jul 3, 2025
    @lghiur lghiur added the 5.8.3 label Jul 3, 2025
    @@ -1416,7 +1417,7 @@ Tyk classic API definition: `version_data.versions..extended_paths.transform_hea
    ContextVariables holds the configuration related to Tyk context variables.

    **Field: `enabled` (`boolean`)**
    Enabled enables context variables to be passed to Tyk middleware.
    Enabled enables context variables to be passed to Tyk middlewares.
    Copy link
    Member

    Choose a reason for hiding this comment

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

    One small problem This should be middleware not middlewares

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants