-
Notifications
You must be signed in to change notification settings - Fork 160
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
[TT-14171] Update documentation for master Dashboard #6062
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
✅ PS. Pls add /docs/nightly to the end of url
To edit notification comments on pull requests, go to your Netlify site configuration. |
1 similar comment
✅ PS. Pls add /docs/nightly to the end of url
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested improvements to wording. We shouldn't use the term "OAS API" when referring to a Tyk OAS API.
@@ -3946,6 +4052,42 @@ paths: | |||
summary: List OAuth client tokens. | |||
tags: | |||
- Oauth | |||
/api/apis/migrate: | |||
post: | |||
description: Migrate APIs between Classic and OAS formats. The endpoint supports different migration modes including dry run, staging, promotion and direct migration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: Migrate APIs between Classic and OAS formats. The endpoint supports different migration modes including dry run, staging, promotion and direct migration. | |
description: Migrate APIs from Tyk Classic to Tyk OAS format. The endpoint supports different migration modes including dry run, staging, promotion and direct migration. |
application/json: | ||
schema: | ||
$ref: '#/components/schemas/ApiResponse' | ||
summary: Migrate APIs between Classic and OAS formats |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
summary: Migrate APIs between Classic and OAS formats | |
summary: Migrate APIs from Tyk Classic to Tyk OAS format |
scheme: bearer | ||
type: http | ||
info: | ||
description: This is a sample OAS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: This is a sample OAS. | |
description: This is a sample OpenAPI description. |
type: http | ||
info: | ||
description: This is a sample OAS. | ||
title: OAS Sample |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title: OAS Sample | |
title: Sample OpenAPI description |
servers: | ||
- url: https://localhost:8080 | ||
PatchOASExample: | ||
summary: Patch Tyk Oas Example |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
summary: Patch Tyk Oas Example | |
summary: Patch Tyk OAS Example |
scheme: bearer | ||
type: http | ||
info: | ||
description: This is a sample OAS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: This is a sample OAS. | |
description: This is a sample OpenAPI description. |
type: http | ||
info: | ||
description: This is a sample OAS. | ||
title: OAS Sample |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title: OAS Sample | |
title: Sample OpenAPI description |
@@ -916,6 +1066,15 @@ Type: `bool`<br /> | |||
|
|||
Temporary : Enable dev mode feature on UI | |||
|
|||
### ui.onboarding | |||
Onboarding section defines the information about the onboarding UI wizzard flow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Onboarding section defines the information about the onboarding UI wizzard flow. | |
Onboarding section controls the onboarding quick start wizard. |
ENV: <b>TYK_DB_UI_ONBOARDING_ENABLED</b><br /> | ||
Type: `bool`<br /> | ||
|
||
Enabled is a boolean flag that enables the onboarding UI wizzard flow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enabled is a boolean flag that enables the onboarding UI wizzard flow. | |
Enabled is a boolean flag that enables the onboarding quick start wizard. |
@@ -110,6 +110,37 @@ This option allows you to store different types of data in different databases. | |||
### storage.main | |||
Main database where the dashboard resources are stored (users, orgs, policies, etc) | |||
|
|||
### storage.main.type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lghiur, were you able to check the issue?
@@ -0,0 +1,223 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
During docs consolidation, this page was removed, and the content was moved to this page.
I'll fix this part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sharadregoti you need to update the script the moves the files over to docs. is this how you're planning to fix it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, Can you point me to the Github Action /Script that generates opa-rules file? I cannot find it in the tyk-config-generator repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
requestBody: | ||
content: | ||
application/json: | ||
examples: | ||
ImportByUrl: | ||
summary: Import By Url | ||
value: | ||
url: https://gist.githubusercontent.com/Keithwachira/e4f11baefb68f2ace5dd2297b7ccc3e0/raw/bd0aeee05d1bd380535af7a8d5d59aa30f9b5aad/tykOas.json | ||
url: https://gist.githubusercontent.com/yurisasuke/e4f11baefb68f2ace5dd2297b7ccc3e0/raw/bb476fa4d4a48874b26d9df9bf62094d1a07f040/tykOas.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use personal github URLs like this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the previous one was also on private gist, would say to revise this at a later point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, can you create a Jira ticket for the same? in the product board
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lghiur ?
Closing this in favor of #6084 |
User description
Triggered by: lghiur
Included:
Tyk Gateway: false
Tyk Dashboard: true
Tyk MDCB false
Tyk Pump false
Intended for: master
Changes sourced from: release-5.8.0
Config info generator branch: main
Note: Docs updates for dashboard 5.8.0 (branch suffix: docs)
JIRA: https://tyktech.atlassian.net/browse/TT-14171
PR Type
Description
Enhanced dashboard swagger with proxy and migration endpoints.
Updated examples, headers, and response content in API spec.
Extended dashboard configuration docs with new env variables.
Added comprehensive OPA rules documentation for dashboard.
Changes walkthrough 📝
dashboard-swagger.yml
Update Swagger endpoints and add migration features.
tyk-docs/assets/others/dashboard-swagger.yml
dashboard-config.md
Extend dashboard configuration documentation.
tyk-docs/content/shared/dashboard-config.md
opa-rules.md
Add comprehensive OPA rules documentation.
tyk-docs/content/tyk-dashboard/opa-rules.md