From 84bdd5532fdc391ac1c50881c2cd677e46f6e700 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Fri, 30 Nov 2018 22:59:45 +0100 Subject: [PATCH] validation.py: fix typos in schemas with oneOf Change-Id: I8b2f6dbb5b9168cf14bd2806f034183120a83628 Signed-off-by: garciadeblas --- osm_nbi/validation.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/osm_nbi/validation.py b/osm_nbi/validation.py index 98fd511..839f91b 100644 --- a/osm_nbi/validation.py +++ b/osm_nbi/validation.py @@ -486,9 +486,9 @@ pdu_edit_schema = { "type": nameshort_schema, "description": description_schema, "shared": bool_schema, - "vims": {"oneOff": [array_edition_schema, nameshort_list_schema]}, - "vim_accounts": {"oneOff": [array_edition_schema, nameshort_list_schema]}, - "interfaces": {"oneOff": [ + "vims": {"oneOf": [array_edition_schema, nameshort_list_schema]}, + "vim_accounts": {"oneOf": [array_edition_schema, nameshort_list_schema]}, + "interfaces": {"oneOf": [ array_edition_schema, { "type": "array", @@ -521,7 +521,7 @@ user_edit_schema = { "properties": { "password": passwd_schema, "projects": { - "oneOff": [ + "oneOf": [ nameshort_list_schema, array_edition_schema ] -- 2.25.1