Skip to content

Commit

Permalink
Merge pull request #497 from hatoo/json-schema
Browse files Browse the repository at this point in the history
Add json schema
  • Loading branch information
hatoo authored May 13, 2024
2 parents 61f1ac9 + 1f2643a commit 83ba959
Show file tree
Hide file tree
Showing 6 changed files with 656 additions and 4 deletions.
227 changes: 226 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ assert_cmd = "2.0.2"
axum = { version = "0.7", features = ["http2"] }
bytes = "1.0"
float-cmp = "0.9.0"
jsonschema = "0.18.0"
lazy_static = "1.4.0"
predicates = "3.1.0"
regex = "1.9.6"
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ Options:
-V, --version Print version
```
# JSON output
`oha` prints JSON output when `-j` option is set.
The schema of JSON output is defined in [schema.json](./schema.json).
# Benchmark
## Performance Comparison
Expand Down
Loading

0 comments on commit 83ba959

Please sign in to comment.