Small public-safe Python project for comparing two OpenAPI specs and generating field-level mapping suggestions.
- Parses source and target OpenAPI files
- Extracts nested request and response fields
- Suggests likely mappings using field-name similarity, type alignment, and shared path context
- Produces a JSON report that can be inspected or stored
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
PYTHONPATH=src python -m mapping_workbench.cli \
--source examples/source_api.yaml \
--target examples/target_api.yaml \
--output reports/mapping_report.jsonPYTHONPATH=src python3 -m pytest -qThis repo is intended as a small portfolio-ready code sample rather than a hosted product. The fastest way to evaluate it is to run the CLI against the included example specs and inspect the generated JSON report.
src/mapping_workbench: mapping logic and CLIexamples/: neutral sample OpenAPI documentstests/: unit tests for mapping behavior
- Uses only dummy example data
- Contains no credentials or external service dependencies
- Ignores generated reports and local environment files
- Public-safe packaging reviewed
- Test suite re-run successfully
- Repository metadata and documentation polished