scheme_filler
scheme_filler
scheme_filler is a CLI tool that helps you populate an OpenAPI 3.0.0 schema with example values. It does so by accepting an HAR file and a schema file, and then generating a new schema file with the example values.
Installation
From Source
- Install Crystal
git clonethis repocdinto the reposhards build
Docker Image
- clone the repo
cdinto the repodocker build -t neuralegion/scheme_filler .
Usage
Binary
bin/scheme_filler <scheme_file> <har_file> will generate a new schema file with the example values.
Docker
docker run -v <path_to_schema_file>:/tmp/schema.json -v <path_to_har_file>:/tmp/har.json neuralegion/scheme_filler /tmp/schema.json /tmp/har.json will generate a new schema file with the example values.
Contributing
- Fork it (https://github.com/NeuraLegion/scheme_filler/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Bar Hofesh - creator and maintainer
Repository
scheme_filler
Owner
Statistic
- 0
- 0
- 0
- 0
- 2
- over 2 years ago
- April 19, 2023
License
MIT License
Links
Synced at
Wed, 22 Oct 2025 09:57:58 GMT
Languages