mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 07:52:48 +00:00
[python-nextgen] Add pyproject.toml (#14861)
* add pyproject.toml in python-nextgen client generator * minor fix
This commit is contained in:
@@ -43,6 +43,7 @@ openapi_client/models/tag.py
|
||||
openapi_client/models/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.py
|
||||
openapi_client/models/test_query_style_form_explode_true_array_string_query_object_parameter.py
|
||||
openapi_client/rest.py
|
||||
pyproject.toml
|
||||
requirements.txt
|
||||
setup.cfg
|
||||
setup.py
|
||||
|
||||
@@ -40,6 +40,10 @@ Then import the package:
|
||||
import openapi_client
|
||||
```
|
||||
|
||||
### Tests
|
||||
|
||||
Execute `pytest` to run the tests.
|
||||
|
||||
## Getting Started
|
||||
|
||||
Please follow the [installation procedure](#installation--usage) and then run the following:
|
||||
|
||||
26
samples/client/echo_api/python-nextgen/pyproject.toml
Normal file
26
samples/client/echo_api/python-nextgen/pyproject.toml
Normal file
@@ -0,0 +1,26 @@
|
||||
[tool.poetry]
|
||||
name = "openapi_client"
|
||||
version = "1.0.0"
|
||||
description = "Echo Server API"
|
||||
authors = ["team@openapitools.org"]
|
||||
license = "Apache 2.0"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/GIT_REPO_ID/GIT_USER_ID"
|
||||
keywords = ["OpenAPI", "OpenAPI-Generator", "Echo Server API"]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.7"
|
||||
|
||||
urllib3 = ">= 1.25.3"
|
||||
python-dateutil = ">=2.8.2"
|
||||
pydantic = ">= 1.10.5"
|
||||
aenum = ">=3.1.11"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
pytest = ">=7.2.1"
|
||||
tox = ">=4.4.6"
|
||||
flake8 = ">=6.0.0"
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
Reference in New Issue
Block a user