You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The rust generator should support dropping the generated code into an arbitrary path in the crate. Currently, each generated file refers to the absolute path crate::models, forcing the use of hacks like search and replace if the generated could should be in crate::api::models, for example.
Describe the solution you'd like
Rust doesn't make this obvious but we can import the parent without the absolute path using:
use super::super::models;
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The rust generator should support dropping the generated code into an arbitrary path in the crate. Currently, each generated file refers to the absolute path
crate::models
, forcing the use of hacks like search and replace if the generated could should be incrate::api::models
, for example.Describe the solution you'd like
Rust doesn't make this obvious but we can import the parent without the absolute path using:
The text was updated successfully, but these errors were encountered: