feat(rust): support ability to disable boxed models in client (#17931)

* feat(client): support ability to disable boxed models

Add new additional property `avoidBoxedModels` which can be configured to avoid `Box<..>` of models.

It's very nice to have such config, because it doesn't make a lot of sense for really simple models.

* test: rollback config of existed test
This commit is contained in:
Artem Medvedev
2024-02-28 04:22:18 +01:00
committed by GitHub
parent 2a4e60ccbb
commit 4b04e17751
78 changed files with 3604 additions and 31 deletions

View File

@@ -21,7 +21,7 @@ pub enum CreateStateRequest {
impl Default for CreateStateRequest {
fn default() -> Self {
Self::AType(Box::default())
Self::AType(Default::default())
}
}

View File

@@ -23,7 +23,7 @@ pub enum CustomOneOfArraySchemaInner {
impl Default for CustomOneOfArraySchemaInner {
fn default() -> Self {
Self::AType(Box::default())
Self::AType(Default::default())
}
}

View File

@@ -21,7 +21,7 @@ pub enum CustomOneOfSchema {
impl Default for CustomOneOfSchema {
fn default() -> Self {
Self::AType(Box::default())
Self::AType(Default::default())
}
}

View File

@@ -23,7 +23,7 @@ pub enum GetState200Response {
impl Default for GetState200Response {
fn default() -> Self {
Self::AType(Box::default())
Self::AType(Default::default())
}
}