Add "Agent Network" link to NavigationAPI and update API generator script (#825)

This commit is contained in:
Maycon Santos
2026-07-02 10:18:00 +02:00
committed by GitHub
parent 7c8e149889
commit 3fadeda2fa
2 changed files with 2 additions and 1 deletions

View File

@@ -8,7 +8,7 @@
"gen:edit-routes": "node scripts/generate-github-routes.mjs",
"gen:last-updated": "node scripts/generate-last-updated.mjs",
"gen:sitemap": "node scripts/generate-sitemap.mjs",
"gen": "swagger-codegen generate -i https://raw.githubusercontent.com/netbirdio/netbird/main/management/server/http/api/openapi.yml -l openapi -o generator/openapi && npx ts-node generator/index.ts gen --input generator/openapi/openapi.json --output src/pages/ipa/resources",
"gen": "mkdir -p generator/openapi && curl -L -o generator/openapi/openapi.yml https://raw.githubusercontent.com/netbirdio/netbird/main/shared/management/http/api/openapi.yml && (cd generator && go run .) && npx ts-node generator/index.ts gen --input generator/openapi/expanded.yml --output src/pages/ipa/resources",
"gen:llm": "node scripts/generate-llm-docs.mjs",
"start": "next start",
"lint": "eslint src/",

View File

@@ -38,6 +38,7 @@ export const apiNavigation = [
{ title: 'DNS', href: '/api/resources/dns' },
{ title: 'DNS Zones', href: '/api/resources/dns-zones' },
{ title: 'Services', href: '/api/resources/services' },
{ title: 'Agent Network', href: '/api/resources/agent-network' },
{ title: 'Events', href: '/api/resources/events' },
{
title: 'Event Streaming',