From ec9b05f27690ce6b08a1a00c0bb4cee2be1363e0 Mon Sep 17 00:00:00 2001 From: OpenStack codegenerator <16461884+gtema@users.noreply.github.com> Date: Tue, 14 Oct 2025 10:13:00 +0000 Subject: [PATCH] fix: Patch the neutron.network.l2_adjacency type The attribute is a boolean, but the code does not have a single hint available about that. Change-Id: I9c8fb00350e13c61ab7f93e67c1b5502a0c9633b Signed-off-by: Artem Goncharov Changes are triggered by https://review.opendev.org/c/openstack/codegenerator/+/963928 --- openstack_types/data/network/v2.27.yaml | 8 ++++---- openstack_types/data/network/v2.yaml | 8 ++++---- openstack_types/src/network/v2/network/response/create.rs | 2 +- openstack_types/src/network/v2/network/response/get.rs | 2 +- openstack_types/src/network/v2/network/response/list.rs | 2 +- openstack_types/src/network/v2/network/response/set.rs | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/openstack_types/data/network/v2.27.yaml b/openstack_types/data/network/v2.27.yaml index eec32c92c..eee158ddf 100644 --- a/openstack_types/data/network/v2.27.yaml +++ b/openstack_types/data/network/v2.27.yaml @@ -15823,7 +15823,7 @@ components: description: |- Indicates whether L2 connectivity is available throughout the `network`. - type: string + type: boolean mtu: description: |- The maximum transmission unit (MTU) value to @@ -16129,7 +16129,7 @@ components: description: |- Indicates whether L2 connectivity is available throughout the `network`. - type: string + type: boolean mtu: description: |- The maximum transmission unit (MTU) value to @@ -16946,7 +16946,7 @@ components: description: |- Indicates whether L2 connectivity is available throughout the `network`. - type: string + type: boolean mtu: description: |- The maximum transmission unit (MTU) value to @@ -17161,7 +17161,7 @@ components: description: |- Indicates whether L2 connectivity is available throughout the `network`. - type: string + type: boolean mtu: description: |- The maximum transmission unit (MTU) value to diff --git a/openstack_types/data/network/v2.yaml b/openstack_types/data/network/v2.yaml index eec32c92c..eee158ddf 100644 --- a/openstack_types/data/network/v2.yaml +++ b/openstack_types/data/network/v2.yaml @@ -15823,7 +15823,7 @@ components: description: |- Indicates whether L2 connectivity is available throughout the `network`. - type: string + type: boolean mtu: description: |- The maximum transmission unit (MTU) value to @@ -16129,7 +16129,7 @@ components: description: |- Indicates whether L2 connectivity is available throughout the `network`. - type: string + type: boolean mtu: description: |- The maximum transmission unit (MTU) value to @@ -16946,7 +16946,7 @@ components: description: |- Indicates whether L2 connectivity is available throughout the `network`. - type: string + type: boolean mtu: description: |- The maximum transmission unit (MTU) value to @@ -17161,7 +17161,7 @@ components: description: |- Indicates whether L2 connectivity is available throughout the `network`. - type: string + type: boolean mtu: description: |- The maximum transmission unit (MTU) value to diff --git a/openstack_types/src/network/v2/network/response/create.rs b/openstack_types/src/network/v2/network/response/create.rs index 1364cc0fc..82733f48e 100644 --- a/openstack_types/src/network/v2/network/response/create.rs +++ b/openstack_types/src/network/v2/network/response/create.rs @@ -77,7 +77,7 @@ pub struct NetworkResponse { /// `network`. #[serde(default)] #[structable(optional)] - pub l2_adjacency: Option, + pub l2_adjacency: Option, /// The maximum transmission unit (MTU) value to address fragmentation. /// Minimum value is 68 for IPv4, and 1280 for IPv6. diff --git a/openstack_types/src/network/v2/network/response/get.rs b/openstack_types/src/network/v2/network/response/get.rs index 31af49f43..de466eda5 100644 --- a/openstack_types/src/network/v2/network/response/get.rs +++ b/openstack_types/src/network/v2/network/response/get.rs @@ -77,7 +77,7 @@ pub struct NetworkResponse { /// `network`. #[serde(default)] #[structable(optional)] - pub l2_adjacency: Option, + pub l2_adjacency: Option, /// The maximum transmission unit (MTU) value to address fragmentation. /// Minimum value is 68 for IPv4, and 1280 for IPv6. diff --git a/openstack_types/src/network/v2/network/response/list.rs b/openstack_types/src/network/v2/network/response/list.rs index c408c6f1c..6d8eecc3a 100644 --- a/openstack_types/src/network/v2/network/response/list.rs +++ b/openstack_types/src/network/v2/network/response/list.rs @@ -77,7 +77,7 @@ pub struct NetworkResponse { /// `network`. #[serde(default)] #[structable(optional, wide)] - pub l2_adjacency: Option, + pub l2_adjacency: Option, /// The maximum transmission unit (MTU) value to address fragmentation. /// Minimum value is 68 for IPv4, and 1280 for IPv6. diff --git a/openstack_types/src/network/v2/network/response/set.rs b/openstack_types/src/network/v2/network/response/set.rs index a3c4555f2..5ba7c15d1 100644 --- a/openstack_types/src/network/v2/network/response/set.rs +++ b/openstack_types/src/network/v2/network/response/set.rs @@ -77,7 +77,7 @@ pub struct NetworkResponse { /// `network`. #[serde(default)] #[structable(optional)] - pub l2_adjacency: Option, + pub l2_adjacency: Option, /// The maximum transmission unit (MTU) value to address fragmentation. /// Minimum value is 68 for IPv4, and 1280 for IPv6.