Initial upload with comprehensive README and tests

This commit is contained in:
2026-02-01 05:15:32 +00:00
parent 3d6d928b08
commit e92dfa0ab9

37
pyproject.toml Normal file
View File

@@ -0,0 +1,37 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "json-to-openapi"
version = "1.0.0"
description = "A Python CLI tool that analyzes JSON data files and automatically generates valid OpenAPI 3.0 specification files"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
dependencies = [
"click>=8.0",
"jsonschema>=4.0",
"pyyaml>=6.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
]
[project.scripts]
json-to-openapi = "json_to_openapi.cli:main"
[tool.setuptools.packages.find]
include = ["json_to_openapi*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
[tool.ruff]
line-length = 100
target-version = "py39"