Skip to content

v0.10.0

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Oct 13:37
be45731

Fixed

  • Spec discovery starts at the git repository containing the current directory, so specproof dev finds a spec that lives above the directory you started in. --repo still audits exactly the directory you pass.

Added

  • A .json, .yaml, or .yml file is discovered as the spec when it has a root openapi or swagger version and the repo has no openapi* or swagger* file. The specification identifies a document by that field and allows any filename. The shallowest conventional name still wins.

Upgrading

  • Running from a subdirectory now audits the whole git repo. To keep auditing only one package, pass --repo for that package.