-
v1.0.0
Stablereleased this
2026-02-01 05:16:02 +00:00 | 60 commits to main since this releaseWhat's Changed
Initial release of json-to-openapi - A Python CLI tool that analyzes JSON data files and automatically generates valid OpenAPI 3.0 specification files.
Features
- Automatic type inference from JSON
- Nested object and array detection
- Format detection (date, datetime, email, URI, UUID)
- Batch processing support
- Interactive customization mode
- OpenAPI 3.0 YAML/JSON output
- Built-in validation
Installation
pip install json-to-openapiUsage
json-to-openapi convert input.json -o output.yamlProject Structure
json-to-openapi/ ├── json_to_openapi/ │ ├── analyzer.py # JSON type inference │ ├── cli.py # CLI interface │ └── schema_generator.py # OpenAPI generation ├── tests/ # 69 tests └── examples/ # Example JSON filesDownloads