scheme_filler
Version, currently main branch1 version
- main branchlatestApr 19, 2023
github.com/BrightSec/scheme_filler
A simple CLI tool for populating an OpenAPI scheme from HAR
Installation
# Add this to your shard.yml
dependencies:
scheme_filler:
github: BrightSec/scheme_filler
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
1.8.0- License
- MIT
- Author
- Bar Hofesh
- Target
scheme_fillerfrom src/scheme_filler.cr
Dependencies
Runtime Dependencies
README
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
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Apr 19, 2023
- Crystal
1.8.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/BrightSec/scheme_filler
Metadata
- Created
- Oct 21, 2026
- Updated
- Nov 5, 2026
- Synced
- Nov 5, 2026
- Versions
- 1