1
1
# ` openapi-python-client `
2
2
3
- Generate a Python client from an OpenAPI JSON document
3
+ Generate a Python client from an OpenAPI JSON document
4
4
5
5
** Usage** :
6
6
@@ -10,20 +10,19 @@ $ openapi-python-client [OPTIONS] COMMAND [ARGS]...
10
10
11
11
** Options** :
12
12
13
- * ` --version ` : Print the version and exit [ default: False]
14
- * ` --config PATH ` : Path to the config file to use
15
- * ` --install-completion ` : Install completion for the current shell.
16
- * ` --show-completion ` : Show completion for the current shell, to copy it or customize the installation.
17
- * ` --help ` : Show this message and exit.
13
+ - ` --version ` : Print the version and exit [ default: False]
14
+ - ` --install-completion ` : Install completion for the current shell.
15
+ - ` --show-completion ` : Show completion for the current shell, to copy it or customize the installation.
16
+ - ` --help ` : Show this message and exit.
18
17
19
18
** Commands** :
20
19
21
- * ` generate ` : Generate a new OpenAPI Client library
22
- * ` update ` : Update an existing OpenAPI Client library
20
+ - ` generate ` : Generate a new OpenAPI Client library
21
+ - ` update ` : Update an existing OpenAPI Client library
23
22
24
23
## ` openapi-python-client generate `
25
24
26
- Generate a new OpenAPI Client library
25
+ Generate a new OpenAPI Client library
27
26
28
27
** Usage** :
29
28
@@ -33,15 +32,17 @@ $ openapi-python-client generate [OPTIONS]
33
32
34
33
** Options** :
35
34
36
- * ` --url TEXT ` : A URL to read the JSON from
37
- * ` --path PATH ` : A path to the JSON file
38
- * ` --custom-template-path DIRECTORY ` : A path to a directory containing custom template(s)
39
- * ` --meta [none|poetry|setup] ` : The type of metadata you want to generate. [ default: poetry]
40
- * ` --help ` : Show this message and exit.
35
+ - ` --url TEXT ` : A URL to read the JSON from
36
+ - ` --path PATH ` : A path to the JSON file
37
+ - ` --custom-template-path DIRECTORY ` : A path to a directory containing custom template(s)
38
+ - ` --meta [none|poetry|setup] ` : The type of metadata you want to generate. [ default: poetry]
39
+ - ` --file-encoding TEXT ` : Encoding used when writing generated [ default: utf-8]
40
+ - ` --config PATH ` : Path to the config file to use
41
+ - ` --help ` : Show this message and exit.
41
42
42
43
## ` openapi-python-client update `
43
44
44
- Update an existing OpenAPI Client library
45
+ Update an existing OpenAPI Client library
45
46
46
47
** Usage** :
47
48
@@ -51,9 +52,10 @@ $ openapi-python-client update [OPTIONS]
51
52
52
53
** Options** :
53
54
54
- * ` --url TEXT ` : A URL to read the JSON from
55
- * ` --path PATH ` : A path to the JSON file
56
- * ` --custom-template-path DIRECTORY ` : A path to a directory containing custom template(s)
57
- * ` --meta [none|poetry|setup] ` : The type of metadata you want to generate. [ default: poetry]
58
- * ` --help ` : Show this message and exit.
59
-
55
+ - ` --url TEXT ` : A URL to read the JSON from
56
+ - ` --path PATH ` : A path to the JSON file
57
+ - ` --custom-template-path DIRECTORY ` : A path to a directory containing custom template(s)
58
+ - ` --meta [none|poetry|setup] ` : The type of metadata you want to generate. [ default: poetry]
59
+ - ` --file-encoding TEXT ` : Encoding used when writing generated [ default: utf-8]
60
+ - ` --config PATH ` : Path to the config file to use
61
+ - ` --help ` : Show this message and exit.
0 commit comments