connexion
connexion copied to clipboard
Generate examples in MockResolver with JSF library
Fixes #1719 .
Builds on work of #1718, pulling in external library to provide the fake data from JSON schema.
Changes proposed in this pull request:
- Use JSF library to generate sample data for mocking APIs without examples.
- Add this as a new extra dependency "mock"
@RobbeSneyders I hope that you will be happy to merge this in based on https://github.com/spec-first/connexion/pull/1718#issuecomment-1628662131
Let me know if you have any questions or comments.
You'll need to bump the jsonschema version to >=4.17.3 to fix the pipeline.
Can you also add this to the CLI docs?
You'll need to bump typing-extensions to >=4.6.1 as well.