52 lines
1.2 KiB
TOML
52 lines
1.2 KiB
TOML
[project]
|
|
name = "openapi-mock-server"
|
|
version = "0.1.0"
|
|
description = "A CLI tool that generates mock API servers from OpenAPI/Swagger specifications"
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
authors = [
|
|
{name = "OpenAPI Mock Server Team"}
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
]
|
|
dependencies = [
|
|
"click>=8.0",
|
|
"pyyaml>=6.0",
|
|
"faker>=19.0",
|
|
"fastapi>=0.100",
|
|
"uvicorn>=0.23",
|
|
"openapi-spec-validator>=0.6",
|
|
"watchdog>=3.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0",
|
|
"pytest-cov>=4.0",
|
|
"httpx>=0.24",
|
|
]
|
|
|
|
[project.scripts]
|
|
openapi-mock = "openapi_mock:main"
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_functions = ["test_*"]
|
|
addopts = "-v --tb=short"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|