nocobase-swagger-fetch
SKILL.md
Goal
Retrieve live Swagger/OpenAPI JSON from NocoBase for endpoint discovery and request construction.
Workflow
- Ensure API authentication is ready by following
nocobase-api-callskill rules. - Confirm namespace explicitly (no default in this skill).
- Ask the agent to use
nocobase-api-callto fetch/swagger:getfor the confirmed namespace. - Do not directly call another skill's script path from this skill.
- Return raw JSON or pipe to
jqfor path/operation extraction. - If response indicates
404 Not Found, prompt user to check and enableAPI Docsplugin, then retry.
Dependency Gate
- Required dependency skill:
nocobase-api-call. - If
nocobase-api-callis not available, do not continue with fallback script-path calls. - Prompt user to install required skills first (for example:
npx skills add nocobase/skills), then resume.
404 Handling Note
404 Not Foundfrom/swagger:getusually meansAPI Docsplugin is not enabled.- Prompt user to enable
API Docsin admin plugins before continuing.
Resources
scripts/get-swagger.sh- Fetch Swagger JSON by callingnocobase-api-call../nocobase-api-call/- Shared base skill for authentication and HTTP requests
Usage
# Fetch Swagger in collection manager namespace
Fetch Swagger for namespace `plugins%2Fdata-source-main`.
# Inspect paths from returned JSON
Inspect the returned JSON paths with `jq` expression `.paths | keys`.
Weekly Installs
11
Repository
nocobase/skillsFirst Seen
14 days ago
Security Audits
Installed on
opencode11
gemini-cli11
github-copilot11
codex11
kimi-cli11
amp11