mirror of
https://github.com/netbirdio/docs.git
synced 2026-08-24 16:51:26 +02:00
Add "Agent Network" link to NavigationAPI and update API generator script (#825)
This commit is contained in:
@@ -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/",
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user