From 66eb1ee7341e623f37924247efefa92927bcfd78 Mon Sep 17 00:00:00 2001 From: Artem Goncharov Date: 2025年10月14日 09:17:40 +0200 Subject: [PATCH] Patch the neutron.network.l2_adjacency type with no hints 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 --- codegenerator/openapi/neutron.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codegenerator/openapi/neutron.py b/codegenerator/openapi/neutron.py index b1aa938..cc990c0 100644 --- a/codegenerator/openapi/neutron.py +++ b/codegenerator/openapi/neutron.py @@ -1169,6 +1169,8 @@ class NeutronGenerator(OpenStackServerSourceBase): js_schema.update({"type": "integer"}) elif resource_key == "agent" and field == "configurations": js_schema.update({"type": "object"}) + elif field == "l2_adjacency": + js_schema.update({"type": "boolean"}) if data.get(f"allow_{method.lower()}", False): send_props[field] = js_schema

AltStyle によって変換されたページ (->オリジナル) /