File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main/java/org/openapitools/codegen/languages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
155155|DateTime|✓|OAS2,OAS3
156156|Password|✓|OAS2,OAS3
157157|File|✓|OAS2
158- | Uuid| ✗ |
158+ | Uuid| ✓ |
159159|Array|✓|OAS2,OAS3
160160|Null|✗|OAS3
161161|AnyType|✗|OAS2,OAS3
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
155155|DateTime|✓|OAS2,OAS3
156156|Password|✓|OAS2,OAS3
157157|File|✓|OAS2
158- | Uuid| ✗ |
158+ | Uuid| ✓ |
159159|Array|✓|OAS2,OAS3
160160|Null|✗|OAS3
161161|AnyType|✗|OAS2,OAS3
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
150150|DateTime|✓|OAS2,OAS3
151151|Password|✓|OAS2,OAS3
152152|File|✓|OAS2
153- | Uuid| ✗ |
153+ | Uuid| ✓ |
154154|Array|✓|OAS2,OAS3
155155|Null|✗|OAS3
156156|AnyType|✗|OAS2,OAS3
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
155155|DateTime|✓|OAS2,OAS3
156156|Password|✓|OAS2,OAS3
157157|File|✓|OAS2
158- | Uuid| ✗ |
158+ | Uuid| ✓ |
159159|Array|✓|OAS2,OAS3
160160|Null|✗|OAS3
161161|AnyType|✗|OAS2,OAS3
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
155155|DateTime|✓|OAS2,OAS3
156156|Password|✓|OAS2,OAS3
157157|File|✓|OAS2
158- | Uuid| ✗ |
158+ | Uuid| ✓ |
159159|Array|✓|OAS2,OAS3
160160|Null|✗|OAS3
161161|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