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"