Install
openclaw skills install openapi-specDeep OpenAPI workflow—design-first vs code-first, reusable schemas, security schemes, errors, examples, linting, compatibility, and codegen. Use when documenting REST APIs or driving clients and gateways from a spec.
openclaw skills install openapi-specOpenAPI is the contract between teams and tools. Quality comes from consistent schemas, realistic examples, and lint rules that catch breaking changes early.
Trigger conditions:
Initial offer:
Use six stages: (1) workflow choice & ownership, (2) info & versioning, (3) resources & operations, (4) schemas & components, (5) security & errors, (6) lint, compatibility & publish). Confirm OpenAPI 3.x and style guide.
Goal: Design-first (spec → implement) vs code-first (annotations → export)—pick one per service and enforce.
Exit condition: Single source of truth for the API contract.
Goal: info.title, version scheme aligned with URL or header versioning strategy.
Goal: RESTful naming where appropriate; operationId stable for codegen.
cursor/page), filtering, sort documentedIdempotency-Key) for unsafe retries when relevantGoal: components/schemas reused; nullable vs optional correct in JSON Schema sense.
Goal: securitySchemes (Bearer, OAuth2) applied per operation or globally.
application/problem+json) pattern with stable type URIsGoal: Spectral or vacuum rules in CI; openapi-diff on PRs.