From bf993ba78e3d5eeeecc47e2338fab0fb8b377a89 Mon Sep 17 00:00:00 2001 From: Kendall Bennett Date: Wed, 30 Sep 2020 15:50:31 -0700 Subject: [PATCH] Some countries do not have states, so this can fail if null is passed for an empty country (cherry picked from commit a4a1e51a59bf418d1bf794f65e5f3694851652b0) --- openapi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/openapi.yaml b/openapi.yaml index fec5324..8894fb9 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -4591,6 +4591,7 @@ components: state_province: type: string minLength: 1 + nullable: true example: Manitoba description: > The state or province. For some countries (including the U.S.) only