From ff1fc2cfcaecfa67b33257aef8fa6ab6e5de2a0d Mon Sep 17 00:00:00 2001 From: Speakeasy Bot Date: Fri, 19 Jul 2024 14:52:46 -0700 Subject: [PATCH] Create fixes.yml --- fixes.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 fixes.yml diff --git a/fixes.yml b/fixes.yml new file mode 100644 index 0000000..36e3b95 --- /dev/null +++ b/fixes.yml @@ -0,0 +1,27 @@ +overlay: 1.0.0 +info: + title: Overlay File to fix issues in OAS + version: 0.0.0 +actions: + - target: $["components"]["schemas"]["OTP"]["properties"]["strategy"]["enum"][*] + remove: true + - target: $["components"]["schemas"]["OTP"]["properties"]["strategy"]["enum"] + update: + - "phone_code" + - "email_code" + - "reset_password_email_code" + - "from_oauth_discord" + - "from_oauth_google" + - "from_oauth_apple" + - target: $["components"]["schemas"]["Oauth"]["properties"]["strategy"]["enum"][*] + remove: true + - target: $["components"]["schemas"]["Oauth"]["properties"]["strategy"]["enum"] + update: + - "oauth_google" + - "oauth_mock" + - "from_oauth_google" + - "from_oauth_discord" + - "oauth_apple" + - target: $["components"]["schemas"]["IdentificationLink"]["properties"]["type"]["enum"] + update: + - "oauth_apple"