-
-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Clarify error message on unsupported recursive references
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
- Loading branch information
1 parent
c9dd8bb
commit da74bc0
Showing
6 changed files
with
57 additions
and
1 deletion.
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
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
32 changes: 32 additions & 0 deletions
32
test/cli/__snapshots__/test_commands/test_recursive_reference_error_message.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,32 @@ | ||
Exit code: 1 | ||
--- | ||
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/foo E [100%] | ||
|
||
==================================== ERRORS ==================================== | ||
________________________________ POST /api/foo _________________________________ | ||
Unsupported Schema | ||
|
||
Currently, Schemathesis can't generate data for this operation due to recursive references in the operation definition. See more information in this issue - https://github.com/schemathesis/schemathesis/issues/947 | ||
|
||
Need more help? | ||
Join our Discord server: https://discord.gg/R9ASRAmHnA | ||
=================================== SUMMARY ==================================== | ||
|
||
No checks were performed. | ||
|
||
Tip: Use the `--report` CLI option to visualize test results via Schemathesis.io. | ||
We run additional conformance checks on reports from public repos. | ||
|
||
============================== 1 errored 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