Commit 48f894d
committed
Use uppercase enum keys.
In one of our examples, we have an enumeration for US state abbreviations,
which includes Indiana. This results in an entry of the form:
```py
in = "IN",
```
which fails to compile because `in` is a reserved word.
The easiest fix I can imagine is to use upper case.1 parent 8d1d695 commit 48f894d
File tree
1 file changed
+1
-1
lines changed- src/openapi_python_generator/language_converters/python/templates
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
0 commit comments