Skip to content

Commit 069842e

Browse files
committed
Document new config option
1 parent 8fb1e79 commit 069842e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,16 @@ literal_enums: true
108108

109109
This is especially useful if enum values, when transformed to their Python names, end up conflicting due to case sensitivity or special symbols.
110110

111+
### generate_all_tags
112+
113+
`openapi-python-client` generates module names within the `api` module based on the OpenAPI `tags` of each endpoint.
114+
By default, only the _first_ tag is generated. If you want to generate **duplicate** endpoint functions using _every_ tag
115+
listed, you can enable this option:
116+
117+
```yaml
118+
generate_all_tags: true
119+
```
120+
111121
### project_name_override and package_name_override
112122

113123
Used to change the name of generated client library project/package. If the project name is changed but an override for the package name

0 commit comments

Comments
 (0)