File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main/java/org/openapitools/codegen Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252import org .openapitools .codegen .config .GlobalSettings ;
5353import org .openapitools .codegen .examples .ExampleGenerator ;
5454import org .openapitools .codegen .languages .PhpNextgenClientCodegen ;
55+ import org .openapitools .codegen .languages .RustAxumServerCodegen ;
5556import org .openapitools .codegen .languages .RustServerCodegen ;
5657import org .openapitools .codegen .meta .FeatureSet ;
5758import org .openapitools .codegen .meta .GeneratorMetadata ;
@@ -4729,7 +4730,7 @@ public CodegenOperation fromOperation(String path,
47294730 if (contentType != null ) {
47304731 contentType = contentType .toLowerCase (Locale .ROOT );
47314732 }
4732- if (contentType != null &&
4733+ if (!( this instanceof RustAxumServerCodegen ) && contentType != null &&
47334734 (contentType .startsWith ("application/x-www-form-urlencoded" ) ||
47344735 contentType .startsWith ("multipart" ))) {
47354736 // process form parameters
You can’t perform that action at this time.
0 commit comments