openapi-generator-cli 7.22.0__tar.gz → 7.23.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {openapi_generator_cli-7.22.0 → openapi_generator_cli-7.23.0}/PKG-INFO +2 -2
- {openapi_generator_cli-7.22.0 → openapi_generator_cli-7.23.0}/openapi_generator_cli/__init__.py +11 -6
- {openapi_generator_cli-7.22.0 → openapi_generator_cli-7.23.0}/openapi_generator_cli/openapi-generator.jar +0 -0
- {openapi_generator_cli-7.22.0 → openapi_generator_cli-7.23.0}/pyproject.toml +2 -2
- {openapi_generator_cli-7.22.0 → openapi_generator_cli-7.23.0}/.gitignore +0 -0
- {openapi_generator_cli-7.22.0 → openapi_generator_cli-7.23.0}/LICENSE +0 -0
- {openapi_generator_cli-7.22.0 → openapi_generator_cli-7.23.0}/README.md +0 -0
- {openapi_generator_cli-7.22.0 → openapi_generator_cli-7.23.0}/openapi_generator_cli/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: openapi-generator-cli
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.23.0
|
|
4
4
|
Summary: CLI for openapi generator
|
|
5
5
|
Project-URL: Documentation, https://github.com/OpenAPITools/openapi-generator#3---usage
|
|
6
6
|
Project-URL: Homepage, https://openapi-generator.tech
|
|
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
|
21
21
|
Classifier: Typing :: Typed
|
|
22
22
|
Requires-Python: <4,>=3.10
|
|
23
23
|
Provides-Extra: jdk4py
|
|
24
|
-
Requires-Dist: jdk4py<
|
|
24
|
+
Requires-Dist: jdk4py<26,>=21.0.4.1; (python_version >= '3.10') and extra == 'jdk4py'
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
26
26
|
|
|
27
27
|
# OpenAPI Generator in Package Installer for Python (PIP)
|
{openapi_generator_cli-7.22.0 → openapi_generator_cli-7.23.0}/openapi_generator_cli/__init__.py
RENAMED
|
@@ -56,12 +56,17 @@ def run(args: list[str] | None = None) -> subprocess.CompletedProcess[bytes]:
|
|
|
56
56
|
return subprocess.run(arguments, check=False) # noqa: S603
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
def cli() -> None:
|
|
60
|
-
"""Run the OpenAPI Generator CLI with the arguments provided on the command line.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
def cli(argv: list[str] | None = None) -> None:
|
|
60
|
+
"""Run the OpenAPI Generator CLI with the arguments provided on the command line.
|
|
61
|
+
|
|
62
|
+
Args:
|
|
63
|
+
argv (list[str], optional):
|
|
64
|
+
The command-line arguments to pass to the OpenAPI Generator CLI.
|
|
65
|
+
If not provided, sys.argv is used.
|
|
66
|
+
|
|
67
|
+
"""
|
|
68
|
+
args = (argv or sys.argv)[1:]
|
|
69
|
+
sys.exit(run(args).returncode)
|
|
65
70
|
|
|
66
71
|
|
|
67
72
|
if __name__ == "__main__":
|
|
Binary file
|
|
@@ -4,7 +4,7 @@ requires = [ "hatchling" ]
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "openapi-generator-cli"
|
|
7
|
-
version = "7.
|
|
7
|
+
version = "7.23.0"
|
|
8
8
|
description = "CLI for openapi generator"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
keywords = [
|
|
@@ -29,7 +29,7 @@ classifiers = [
|
|
|
29
29
|
]
|
|
30
30
|
dependencies = [ ]
|
|
31
31
|
|
|
32
|
-
optional-dependencies.jdk4py = [ "jdk4py>=21.0.4.1,<
|
|
32
|
+
optional-dependencies.jdk4py = [ "jdk4py>=21.0.4.1,<26; python_version>='3.10'" ]
|
|
33
33
|
urls.Documentation = "https://github.com/OpenAPITools/openapi-generator#3---usage"
|
|
34
34
|
urls.Homepage = "https://openapi-generator.tech"
|
|
35
35
|
urls.Repository = "https://github.com/OpenAPITools/openapi-generator"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openapi_generator_cli-7.22.0 → openapi_generator_cli-7.23.0}/openapi_generator_cli/py.typed
RENAMED
|
File without changes
|