forked from loafle/openapi-generator-original
* python: improve type generation with more specific typing * Annotate function parameters * Remove unused imports * remove unused files * remove temporary hack * remove lock file * fix Annotated import * support Python 3.7 * Regenerate code with typing-extensions * Fix setup.py * More Pydantic v2 compatibility * depend on pydantic v2 * fix client_echo tests * fix JSON serialization * Fix references * Skip circular dependency tests for now * Temporarily hide the "float" property The "float" property aliases the "float" type and completely breaks the model: all the properties that were "float" now become the type of the "float" property instead. * Fix errors * Import Literal from typing_extensions * Fix GitHub Action workflows * Fix Python 3.7 failure * Fix quotes * Apply suggestions from code review * Fix tests * split model imports from other modules imports * fix workflow * Comment the array unique items convertion, remove set translation * Replace alias usage
34 lines
799 B
TOML
34 lines
799 B
TOML
[tool.poetry]
|
|
name = "petstore_api"
|
|
version = "1.0.0"
|
|
description = "OpenAPI Petstore"
|
|
authors = ["OpenAPI Generator Community <team@openapitools.org>"]
|
|
license = "Apache-2.0"
|
|
readme = "README.md"
|
|
repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
|
|
keywords = ["OpenAPI", "OpenAPI-Generator", "OpenAPI Petstore"]
|
|
include = ["petstore_api/py.typed"]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.7"
|
|
|
|
urllib3 = ">= 1.25.3"
|
|
python-dateutil = ">=2.8.2"
|
|
pem = ">= 19.3.0"
|
|
pycryptodome = ">= 3.9.0"
|
|
pydantic = ">=2"
|
|
aenum = ">=3.1.11"
|
|
typing-extensions = ">=4.7.1"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
pytest = ">=7.2.1"
|
|
tox = ">=3.9.0"
|
|
flake8 = ">=4.0.0"
|
|
|
|
[build-system]
|
|
requires = ["setuptools"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.pylint.'MESSAGES CONTROL']
|
|
extension-pkg-whitelist = "pydantic"
|