File tree Expand file tree Collapse file tree 6 files changed +9
-6
lines changed
modules/openapi-generator/src/main/java/org/openapitools/codegen/languages Expand file tree Collapse file tree 6 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
156156|DateTime|✓|OAS2,OAS3
157157|Password|✓|OAS2,OAS3
158158|File|✓|OAS2
159- | Uuid| ✗ |
159+ | Uuid| ✓ |
160160|Array|✓|OAS2,OAS3
161161|Null|✗|OAS3
162162|AnyType|✗|OAS2,OAS3
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
156156|DateTime|✓|OAS2,OAS3
157157|Password|✓|OAS2,OAS3
158158|File|✓|OAS2
159- | Uuid| ✗ |
159+ | Uuid| ✓ |
160160|Array|✓|OAS2,OAS3
161161|Null|✗|OAS3
162162|AnyType|✗|OAS2,OAS3
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
151151|DateTime|✓|OAS2,OAS3
152152|Password|✓|OAS2,OAS3
153153|File|✓|OAS2
154- | Uuid| ✗ |
154+ | Uuid| ✓ |
155155|Array|✓|OAS2,OAS3
156156|Null|✗|OAS3
157157|AnyType|✗|OAS2,OAS3
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
156156|DateTime|✓|OAS2,OAS3
157157|Password|✓|OAS2,OAS3
158158|File|✓|OAS2
159- | Uuid| ✗ |
159+ | Uuid| ✓ |
160160|Array|✓|OAS2,OAS3
161161|Null|✗|OAS3
162162|AnyType|✗|OAS2,OAS3
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
156156|DateTime|✓|OAS2,OAS3
157157|Password|✓|OAS2,OAS3
158158|File|✓|OAS2
159- | Uuid| ✗ |
159+ | Uuid| ✓ |
160160|Array|✓|OAS2,OAS3
161161|Null|✗|OAS3
162162|AnyType|✗|OAS2,OAS3
Original file line number Diff line number Diff line change 2525import org .apache .commons .lang3 .StringUtils ;
2626import org .openapitools .codegen .*;
2727import org .openapitools .codegen .meta .features .SecurityFeature ;
28+ import org .openapitools .codegen .meta .features .DataTypeFeature ;
2829import org .openapitools .codegen .model .ModelMap ;
2930import org .openapitools .codegen .model .ModelsMap ;
3031import org .openapitools .codegen .model .OperationMap ;
@@ -71,7 +72,9 @@ public AbstractPythonCodegen() {
7172 SecurityFeature .BearerToken ,
7273 SecurityFeature .ApiKey ,
7374 SecurityFeature .OAuth2_Implicit
74- )));
75+ )).includeDataTypeFeatures (
76+ DataTypeFeature .Uuid
77+ ));
7578
7679 // from https://docs.python.org/3/reference/lexical_analysis.html#keywords
7780 setReservedWordsLowerCase (
You can’t perform that action at this time.
0 commit comments