Skip to content

Commit c2df869

Browse files
committed
[RUST][CLIENT] Add missing imports for the models used
1 parent 8b5b5a7 commit c2df869

File tree

1 file changed

+2
-1
lines changed
  • modules/openapi-generator/src/main/resources/rust/reqwest

1 file changed

+2
-1
lines changed

modules/openapi-generator/src/main/resources/rust/reqwest/api.mustache

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
use reqwest;
44

5-
use crate::apis::ResponseContent;
5+
use crate::apis::ResponseContent;{{#operations}}{{#operation}}{{#allParams}}{{^isString}}{{^isUuid}}{{^isPrimitiveType}}{{^isContainer}}
6+
use crate::models::{{{dataType}}};{{/isContainer}}{{/isPrimitiveType}}{{/isUuid}}{{/isString}}{{/allParams}}{{/operation}}{{/operations}}
67
use super::{Error, configuration};
78

89
{{#operations}}

0 commit comments

Comments
 (0)