-
-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Internal error when media type definition has no schema
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
- Loading branch information
1 parent
2d2dc79
commit 2a30118
Showing
4 changed files
with
60 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
test/cli/__snapshots__/test_commands/test_no_schema_in_media_type[Open API 3.0].raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Exit code: 0 | ||
--- | ||
Stdout: | ||
======================= Schemathesis test session starts ======================= | ||
Schema location: file:///tmp/schema.json | ||
Base URL: http://127.0.0.1/api | ||
Specification version: Open API 3.0.0 | ||
Random seed: 42 | ||
Workers: 1 | ||
Collected API operations: 1 | ||
Collected API links: 0 | ||
API probing: SUCCESS | ||
Schema analysis: SKIP | ||
|
||
POST /api/property . [100%] | ||
|
||
=================================== SUMMARY ==================================== | ||
|
||
Performed checks: | ||
not_a_server_error 1 / 1 passed PASSED | ||
|
||
WARNING: All API responses have a 404 status code. Did you specify the proper API location? | ||
|
||
Tip: Use the `--report` CLI option to visualize test results via Schemathesis.io. | ||
We run additional conformance checks on reports from public repos. | ||
|
||
============================== 1 passed in 1.00s =============================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters