38 lines
807 B
TOML
38 lines
807 B
TOML
[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"
|