openapi-parser
Parses complex OpenAPI specs and generates Drift test cases from them. Use whenever the user wants to generate, write, or scaffold Drift tests from an OpenAPI spec — especially when the spec contains complex schemas: anyOf/oneOf/allOf, discriminators, polymorphism, inheritance, $ref chains, regex patterns, enums, or optional fields. Use when the user asks to "create tests for an endpoint", "cover all response variants", "generate test cases from the spec", or says anything like "each viable combination of responses". Use when the user is trying to understand what values are valid for a complex schema field, or when they paste a spec path and ask what tests to write.
Pinned to revision d916bfac549f, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/openapi-parser/SKILL.md
- skills/openapi-parser/evals/01-anyof-parameter-variants.json
- skills/openapi-parser/evals/02-discriminator-with-allof.json
- skills/openapi-parser/evals/03-regex-pattern-field.json
- skills/openapi-parser/evals/fixtures/anyof-parameter-variants.yaml
- skills/openapi-parser/evals/fixtures/discriminator-with-allof.yaml
- skills/openapi-parser/evals/fixtures/regex-pattern-field.yaml
- skills/openapi-parser/references/drift-mapping.md
- skills/openapi-parser/references/example-repos.md
- skills/openapi-parser/references/schema-patterns.md
Every link opens the file at its source, pinned to the revision this page describes.