From f2c86854bedea5a113086d474f5eb881bfb8a2a2 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Tue, 15 Aug 2023 11:14:27 +0100 Subject: [PATCH] Code typo in discriminator sample The format values ipv6 and ipv4 were switched around --- documentation/API-design-guidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/API-design-guidelines.md b/documentation/API-design-guidelines.md index 53a8b52a..df3c0969 100644 --- a/documentation/API-design-guidelines.md +++ b/documentation/API-design-guidelines.md @@ -1073,7 +1073,7 @@ The following sample illustrates this usage. type: string address: type: string - format: ipv6 + format: ipv4 ... Ipv6Addr: <-- object involved in oneOf MUST include the objectype property @@ -1086,7 +1086,7 @@ The following sample illustrates this usage. type: string address: type: string - format: ipv4 + format: ipv6 ... ```