download-openapi

Download remote OpenAPI/Swagger JSON specification from a URL to local file using aptx-ft CLI. TRIGGER when user mentions: (1) fetch/pull/download swagger or openapi from URL, (2) save API spec to openapi.json locally, (3) get API documentation from server, or (4) prepare local input for code generation. DO NOT TRIGGER when: generating code/types from local file, reading existing openapi.json, downloading non-OpenAPI files, or authentication is required.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "download-openapi" with this command: npx skills add haibaraaiaptx/frontend-openapi-skills/haibaraaiaptx-frontend-openapi-skills-download-openapi

Download OpenAPI JSON

Download OpenAPI 3.x JSON specification from a remote URL.

Prerequisites

pnpm add -D @aptx/frontend-tk-cli

Usage

pnpm exec aptx-ft input download --url <url> --output <file>

Alternative (without pnpm):

npx aptx-ft input download --url <url> --output <file>

Example

pnpm exec aptx-ft input download --url https://api.example.com/swagger.json --output ./openapi.json

Workflow

  1. Confirm the OpenAPI URL with user
  2. Choose output path (recommended: ./openapi.json)
  3. Execute download command
  4. Pass the file path to other skills (generate-models, generate-artifacts)

Output

  • Local OpenAPI JSON file (e.g., ./openapi.json)

Boundaries

This skill only handles OpenAPI JSON format downloads:

  • Does NOT support YAML format
  • Does NOT handle authenticated URLs (Bearer Token, etc.)
  • Does NOT support custom request headers
  • Only validates JSON syntax, not OpenAPI specification validity

For these cases, download manually and use other tools.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

adapt-materal-enums

No summary provided by upstream source.

Repository SourceNeeds Review
General

generate-models

No summary provided by upstream source.

Repository SourceNeeds Review
General

generate-artifacts

No summary provided by upstream source.

Repository SourceNeeds Review
General

generate-barrels

No summary provided by upstream source.

Repository SourceNeeds Review