add-oas-support
Skill by swagger-api
Adds support for a new OpenAPI Specification version, such as 3.3 or 4.0, to swagger-client. It is for maintainers who need the client to resolve, normalize and execute that version.
Install add-oas-support
Built from the published package, never by AI.
git clone --depth 1 https://github.com/swagger-api/swagger-client /tmp/swagger-client && mkdir -p ~/.claude/skills && cp -r /tmp/swagger-client/.claude/skills/add-oas-support ~/.claude/skills/add-oas-supportRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/swagger-api/swagger-client /tmp/swagger-client && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/swagger-client/.claude/skills/add-oas-support ~/.gemini/antigravity-cli/skills/add-oas-supportAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides the work of adding an OpenAPI Specification version to swagger-client, the link between ApiDOM and Swagger UI and SwaggerEditor. It starts with an upstream gate and stops while the installed ApiDOM lacks the version's namespace and apidom-reference strategies. It then builds the resolve and dereference strategies, parsers, predicate, registration, dependencies, docs and tests, mirrored from the parent version.
The work is split into a basic support pull request and one pull request per new feature, such as referenceable fields, operation locations and request building. Each pull request is checked by a bundled script and a fresh-context review. The skill is aimed at maintainers of swagger-client.
Written from the project's SKILL.md and checked against it.
What it can do
- Upstream gateChecks whether the ApiDOM packages for the new version are published before any work starts.
- Dependency bumpBumps the ApiDOM packages to one release and adds the new version's namespace and parser adapters.
- Basic support PRCopies the parent version's strategies, parsers, predicate and registration, changing only the version.
- Feature PRsAdds new behaviour, such as operation locations and request building, one pull request per feature.
- Integration checkUses spec-status.mjs to list missing integration points and files that name only the parent version.
- Test mirroringMirrors the parent's strategy, dereference and parser tests, and adds execute and predicate tests.
- Release gatesRuns lint, unit tests, build, artifact tests, URL checks and a fresh-context review before merging.
What you need
- Node.js and npm
- A checkout of the swagger-client repository
- A published or ready ApiDOM release for the new OpenAPI version
Try asking
- Add OpenAPI 3.3 support to swagger-client, starting with the upstream gate.
- Why aren't the $refs in my OpenAPI 3.2 document being resolved by swagger-client?
- Run spec-status for OAS 3.3 and summarize the missing integration points.
Good to know
- Stops while the installed ApiDOM lacks the version's namespace and apidom-reference strategies.
- A major version such as 4.0 does not share the 3.x shape, so the user must decide how to proceed.
- Pushing branches and opening pull requests needs confirmation from the user first.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/add-oas-support/SKILL.md, .claude/skills/add-oas-support/scripts/lib/cli.mjs, .claude/skills/add-oas-support/scripts/lib/git.mjs, .claude/skills/add-oas-support/scripts/spec-status.mjs, .claude/skills/add-oas-support/scripts/test/smoke.sh, .claude/skills/add-oas-support/scripts/verify-urls.mjs. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
evals/oas-3-2-replay/case.yaml981 B -
evals/oas-3-2-replay/fixture.md848 B -
evals/oas-3-2-replay/graders/01-checks-apidom-first.md522 B -
evals/oas-3-2-replay/graders/02-predicate-and-isopenapi3.md195 B
Show all 33 files
-
evals/oas-3-2-replay/graders/03-strategy-uses-new-version.md272 B -
evals/oas-3-2-replay/graders/04-parsers-and-dereference-strategy.md241 B -
evals/oas-3-2-replay/graders/05-registration.md274 B -
evals/oas-3-2-replay/graders/06-subtree-resolver.md246 B -
evals/oas-3-2-replay/graders/07-lint-and-webpack.md255 B -
evals/oas-3-2-replay/graders/08-deps-and-docs.md368 B -
evals/oas-3-2-replay/graders/09-tests.md171 B -
evals/oas-3-2-replay/graders/10-pr1-parity.md468 B -
evals/oas-3-2-replay/prompt.md380 B -
evals/oas-3-3-upstream-gate/case.yaml407 B -
evals/oas-3-3-upstream-gate/fixture.md682 B -
evals/oas-3-3-upstream-gate/graders/01-runs-status.md223 B -
evals/oas-3-3-upstream-gate/graders/02-stops.md224 B -
evals/oas-3-3-upstream-gate/graders/03-no-invented-facts.md200 B -
evals/oas-3-3-upstream-gate/graders/04-routes-to-add-spec-version.md241 B -
evals/oas-3-3-upstream-gate/graders/05-oas-3-3-unreleased.md342 B -
evals/oas-3-3-upstream-gate/prompt.md186 B -
references/integration-points.md5 KB -
references/resolver-architecture.md5 KB -
references/review-lessons.md3 KB -
references/testing.md3 KB -
references/tracking-doc-template.md1 KB -
references/unreleased-upstream.md3 KB -
scripts/lib/cli.mjs912 B -
scripts/lib/git.mjs1 KB
And 3 more files on GitHub.
Alternatives to add-oas-support
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
add-oas-support: common questions
Does this skill add OpenAPI 3.3 support to swagger-client?
It guides that work for a new version such as 3.3. The source says it stops while the installed ApiDOM lacks the version's namespace and strategies.
Which OpenAPI version was used as the reference?
The source names OpenAPI 3.2 as the reference, with specific commits for basic support, an additional operations feature and a subtree resolver fix.
Does it handle new OpenAPI major versions?
The source says a major version like 4.0 does not share the 3.x document shape, so the user is asked how to proceed.
How do I install add-oas-support?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is add-oas-support free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is add-oas-support safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to add-oas-support?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
