openapi-analyze

Analyze OpenAPI specs to generate Segment destination implementation plans.

83|312|Updated Jun 30, 2021
One-click install
npx skills add https://github.com/segmentio/action-destinations --skill openapi-analyze
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openapi-analyze
Source: https://github.com/segmentio/action-destinations/tree/main/.claude/skills/openapi-analyze
Command: npx skills add https://github.com/segmentio/action-destinations --skill openapi-analyze

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Converts OpenAPI specifications (2.0/3.x) into a concrete action plan for building Segment destinations, reducing analysis time and misinterpretation.

Core Features & Use Cases

  • OpenAPI parsing and validation for both Swagger (2.0) and OpenAPI 3.x formats.
  • Authentication and data-model analysis to map to Segment actions and field mappings.
  • Generated analysis document with prioritized actions and implementation guidance for the /implement-destination workflow.

Quick Start

Provide your OpenAPI spec URL or file path to generate a structured destination plan.

Frequently Asked Questions about openapi-analyze

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a Segment destination plan from an OpenAPI spec?

To generate a Segment destination plan from an OpenAPI spec, provide your specification URL or file path. The analyzer parses endpoints, authentication, and data models to output prioritized actions and field mappings.

Can I use Swagger 2.0 specifications to map Segment destination actions?

Yes, you can use Swagger 2.0 specifications to map Segment destination actions. The analyzer validates and parses both Swagger 2.0 and OpenAPI 3.x formats to interpret authentication schemes and propose concrete field mappings.

What does OpenAPI authentication analysis include for Segment destinations?

OpenAPI authentication analysis for Segment destinations includes identifying authentication schemes within the specification. It interprets these schemes alongside data models to propose concrete Segment actions and accurate field mappings.

How do I analyze API endpoints for potential batching capabilities in Segment?

Analyzing API endpoints for batching capabilities in Segment requires providing the OpenAPI spec. The analyzer identifies endpoints and evaluates potential batching capabilities to produce a structured destination-implementation plan.

What is the output format of the OpenAPI Destination Analyzer?

The output of the OpenAPI Destination Analyzer is a generated analysis document. It contains prioritized actions, field mappings, and implementation guidance ready for the implement-destination workflow.

Do I need any dependencies to run the OpenAPI Destination Analyzer?

No dependencies are required to run the OpenAPI Destination Analyzer. You only need to provide an OpenAPI specification URL or file path to generate the structured destination plan.