Skip to content

Generate requests-mock from open api spec #1685

Answered by Stranger6667
noorul asked this question in Q&A
Discussion options

You must be logged in to vote

Understood. I had this idea for some time and even wanted to implement it as a separate project / submodule for Schemathesis. But I think you could use hypothesis-jsonschema instead and generate values based on your schema, however, it does not do any mutations as Schemathesis does to generate negative test cases. You could hook into its internal APIs, but I won't give any guarantees that it won't change

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by noorul
Comment options

You must be logged in to vote
1 reply
@Stranger6667
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants