You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.