Skip to content

Commit b554c1b

Browse files
committed
Update samples
1 parent af91415 commit b554c1b

4 files changed

Lines changed: 62 additions & 50 deletions

File tree

samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/pyproject.toml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
1-
[tool.poetry]
1+
[project]
22
name = "openapi_client"
33
version = "1.0.0"
44
description = "Echo Server API"
5-
authors = ["OpenAPI Generator Community <team@openapitools.org>"]
5+
authors = [
6+
{name = "OpenAPI Generator Community",email = "team@openapitools.org"},
7+
]
68
license = "Apache 2.0"
79
readme = "README.md"
8-
repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
910
keywords = ["OpenAPI", "OpenAPI-Generator", "Echo Server API"]
10-
include = ["openapi_client/py.typed"]
11+
requires-python = "^3.9"
1112

12-
[tool.poetry.dependencies]
13-
python = "^3.9"
13+
dependencies = [
14+
"urllib3 (>=2.1.0,<3.0.0)",
15+
"python-dateutil (>=2.8.2)",
16+
"pydantic (>=2)",
17+
"typing-extensions (>=4.7.1)"
18+
]
1419

15-
urllib3 = ">= 2.1.0, < 3.0.0"
16-
python-dateutil = ">= 2.8.2"
17-
pydantic = ">= 2"
18-
typing-extensions = ">= 4.7.1"
20+
[tool.poetry]
21+
requires-poetry = ">=2.0"
1922

20-
[tool.poetry.dev-dependencies]
23+
[tool.poetry.group.dev.dependencies]
2124
pytest = ">= 7.2.1"
2225
pytest-cov = ">= 2.8.1"
2326
tox = ">= 3.9.0"

samples/client/echo_api/python/pyproject.toml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
1-
[tool.poetry]
1+
[project]
22
name = "openapi_client"
33
version = "1.0.0"
44
description = "Echo Server API"
5-
authors = ["OpenAPI Generator Community <team@openapitools.org>"]
5+
authors = [
6+
{name = "OpenAPI Generator Community",email = "team@openapitools.org"},
7+
]
68
license = "Apache 2.0"
79
readme = "README.md"
8-
repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
910
keywords = ["OpenAPI", "OpenAPI-Generator", "Echo Server API"]
10-
include = ["openapi_client/py.typed"]
11+
requires-python = "^3.9"
1112

12-
[tool.poetry.dependencies]
13-
python = "^3.9"
13+
dependencies = [
14+
"urllib3 (>=2.1.0,<3.0.0)",
15+
"python-dateutil (>=2.8.2)",
16+
"pydantic (>=2)",
17+
"typing-extensions (>=4.7.1)"
18+
]
1419

15-
urllib3 = ">= 2.1.0, < 3.0.0"
16-
python-dateutil = ">= 2.8.2"
17-
pydantic = ">= 2"
18-
typing-extensions = ">= 4.7.1"
20+
[tool.poetry]
21+
requires-poetry = ">=2.0"
1922

20-
[tool.poetry.dev-dependencies]
23+
[tool.poetry.group.dev.dependencies]
2124
pytest = ">= 7.2.1"
2225
pytest-cov = ">= 2.8.1"
2326
tox = ">= 3.9.0"

samples/openapi3/client/petstore/python-aiohttp/pyproject.toml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
1-
[tool.poetry]
1+
[project]
22
name = "petstore_api"
33
version = "1.0.0"
44
description = "OpenAPI Petstore"
5-
authors = ["OpenAPI Generator Community <team@openapitools.org>"]
5+
authors = [
6+
{name = "OpenAPI Generator Community",email = "team@openapitools.org"},
7+
]
68
license = "Apache-2.0"
79
readme = "README.md"
8-
repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
910
keywords = ["OpenAPI", "OpenAPI-Generator", "OpenAPI Petstore"]
10-
include = ["petstore_api/py.typed"]
11+
requires-python = "^3.9"
1112

12-
[tool.poetry.dependencies]
13-
python = "^3.9"
13+
dependencies = [
14+
"urllib3 (>=2.1.0,<3.0.0)",
15+
"python-dateutil (>=2.8.2)",
16+
"aiohttp (>=3.8.4)",
17+
"aiohttp-retry (>=2.8.3)",
18+
"pem (>=19.3.0)",
19+
"pycryptodome (>=3.9.0)",
20+
"pydantic (>=2)",
21+
"typing-extensions (>=4.7.1)"
22+
]
1423

15-
urllib3 = ">= 2.1.0, < 3.0.0"
16-
python-dateutil = ">= 2.8.2"
17-
aiohttp = ">= 3.8.4"
18-
aiohttp-retry = ">= 2.8.3"
19-
pem = ">= 19.3.0"
20-
pycryptodome = ">= 3.9.0"
21-
pydantic = ">= 2"
22-
typing-extensions = ">= 4.7.1"
24+
[tool.poetry]
25+
requires-poetry = ">=2.0"
2326

24-
[tool.poetry.dev-dependencies]
27+
[tool.poetry.group.dev.dependencies]
2528
pytest = ">= 7.2.1"
2629
pytest-cov = ">= 2.8.1"
2730
tox = ">= 3.9.0"

samples/openapi3/client/petstore/python/pyproject.toml

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
1-
[tool.poetry]
1+
[project]
22
name = "petstore_api"
33
version = "1.0.0"
44
description = "OpenAPI Petstore"
5-
authors = ["OpenAPI Generator Community <team@openapitools.org>"]
5+
authors = [
6+
{name = "OpenAPI Generator Community",email = "team@openapitools.org"},
7+
]
68
license = "Apache-2.0"
79
readme = "README.md"
8-
repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
910
keywords = ["OpenAPI", "OpenAPI-Generator", "OpenAPI Petstore"]
10-
include = ["petstore_api/py.typed"]
11+
requires-python = "^3.9"
1112

12-
[tool.poetry.dependencies]
13-
python = "^3.9"
13+
dependencies = [
14+
"urllib3 (>=2.1.0,<3.0.0)",
15+
"python-dateutil (>=2.8.2)",
16+
"pem (>=19.3.0)",
17+
"pycryptodome (>=3.9.0)",
18+
"pydantic (>=2)",
19+
"typing-extensions (>=4.7.1)"
20+
]
1421

15-
urllib3 = ">= 2.1.0, < 3.0.0"
16-
python-dateutil = ">= 2.8.2"
17-
pem = ">= 19.3.0"
18-
pycryptodome = ">= 3.9.0"
19-
pydantic = ">= 2"
20-
typing-extensions = ">= 4.7.1"
22+
[tool.poetry]
23+
requires-poetry = ">=2.0"
2124

22-
[tool.poetry.dev-dependencies]
25+
[tool.poetry.group.dev.dependencies]
2326
pytest = ">= 7.2.1"
2427
pytest-cov = ">= 2.8.1"
2528
tox = ">= 3.9.0"

0 commit comments

Comments
 (0)