validate_openapi
Validate OpenAPI 2/3 specifications from file paths, URLs, or inline JSON/YAML, returning validation results, analysis, and scaffolding.
Instructions
Step 1 of 6. Validates OpenAPI 2/3 specs (file path, URL, or inline JSON/YAML). URLs: any public URL that returns the spec. Fetches and reads the response body (no manual download). Works with raw file URLs (e.g. raw.githubusercontent.com/.../ProjectSight-v1.json), Google Drive view or direct links, and any other public URL; both read and download-style URLs work. Returns validation result, analysis (summary + small sample), and scaffolding (description + sample). On success: valid=True, openapi_version, analysis, scaffolding. Completes workflow step 1. On failure: valid=False, validation_errors (list of message, path, context). You must present results to the user and get confirmation before calling step 2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_type | No | ||
| openapi_input | Yes |