You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,17 +153,17 @@ pnpm run dev
153
153
```
154
154
Once the server is running, you can utilize the MCP server within Visual Studio Code or other MCP client.
155
155
156
-
## Upgrading ArgoCD Types
156
+
###Upgrading ArgoCD Types
157
157
158
158
To update the TypeScript type definitions based on the latest Argo CD API specification:
159
159
160
-
1.Download the `swagger.json` file from the [ArgoCD release page](https://github.com/argoproj/argo-cd/releases), for example here is the [swagger.json link](https://github.com/argoproj/argo-cd/blob/v2.14.11/assets/swagger.json) for ArgoCD v2.14.11.
160
+
1. Download the `swagger.json` file from the [ArgoCD release page](https://github.com/argoproj/argo-cd/releases), for example here is the [swagger.json link](https://github.com/argoproj/argo-cd/blob/v2.14.11/assets/swagger.json) for ArgoCD v2.14.11.
161
161
162
-
2.Place the downloaded `swagger.json` file in the root directory of the `argocd-mcp` project.
162
+
2. Place the downloaded `swagger.json` file in the root directory of the `argocd-mcp` project.
163
163
164
-
3.Generate the TypeScript types from the Swagger definition by running the following command. This will create or overwrite the `src/types/argocd.d.ts` file:
164
+
3. Generate the TypeScript types from the Swagger definition by running the following command. This will create or overwrite the `src/types/argocd.d.ts` file:
165
165
```bash
166
166
pnpm run generate-types
167
167
```
168
168
169
-
4. Update the `src/types/argocd-types.ts` file to export the required types from the newly generated `src/types/argocd.d.ts`. This step often requires manual review to ensure only necessary types are exposed.
169
+
4. Update the `src/types/argocd-types.ts` file to export the required types from the newly generated `src/types/argocd.d.ts`. This step often requires manual review to ensure only necessary types are exposed.
0 commit comments