summaryrefslogtreecommitdiff
path: root/hack/swagger-check
Commit message (Collapse)AuthorAge
* swagger-check: new CI tool to cross-check swaggerEd Santiago2020-04-14
New script cross-references r.Handle() and r.HandleFunc() calls against the preceding '// swagger:operation' comments, and exits failure (with descriptive error messages) if any comments do not match the code. This script should not be necessary: the swagger comments should be autogenerated from the source code. Signed-off-by: Ed Santiago <santiago@redhat.com>