Skip to content

Commit 05de041

Browse files
committed
add readme for python templates
1 parent da137c2 commit 05de041

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

templates/python/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Python templates
2+
3+
This folder contains only our customized python templates. Beside these customized templates,
4+
the original templates of openapi-generator for python are used. These can be found in the
5+
official GitHub repo of the [openapi-generator](https://github.com/OpenAPITools/openapi-generator/tree/v7.13.0/modules/openapi-generator/src/main/resources/python).
6+
7+
If you need to change something in the Python Generator, try always first to add
8+
[user-defined templates](https://openapi-generator.tech/docs/customization#user-defined-templates),
9+
instead of overwritten existing templates. These ensure an easier upgrade process, to newer
10+
versions of the openapi-generator.
11+
12+
If it's required to customize the original templates, you can copy them into this directory.
13+
Try to minimize the customization as much as possible, to ensure, that we can easily upgrade
14+
to newer versions in the future.

0 commit comments

Comments
 (0)