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 1717
1818package org .openapitools .codegen .languages ;
1919
20+ import com .google .common .collect .Sets ;
2021import org .openapitools .codegen .CliOption ;
2122import org .openapitools .codegen .CodegenConstants ;
2223import org .openapitools .codegen .SupportingFile ;
@@ -37,6 +38,19 @@ public class DartClientCodegen extends AbstractDartCodegen {
3738 public DartClientCodegen () {
3839 super ();
3940
41+ additionalReservedWords .addAll (
42+ Sets .newHashSet (
43+ "StreamedRequest" ,
44+ "ApiClient" ,
45+ "QueryParam" ,
46+ "Authentication" ,
47+ "HttpBasicAuth" ,
48+ "HttpBearerAuth" ,
49+ "ApiKeyAuth" ,
50+ "OAuth"
51+ )
52+ );
53+
4054 final CliOption serializationLibrary = new CliOption (CodegenConstants .SERIALIZATION_LIBRARY ,
4155 "Specify serialization library" );
4256 serializationLibrary .setDefault (SERIALIZATION_LIBRARY_NATIVE );
You can’t perform that action at this time.
0 commit comments