From a2d7e87e146fe184bbf85593fc4eb58f349d4000 Mon Sep 17 00:00:00 2001 From: Ilya Taratukhin Date: Fri, 25 Oct 2024 18:36:37 +0200 Subject: [PATCH] fix: fix errors examples --- .changeset/deep-sides-grow.md | 5 +++++ schemas/paths/examples/errors/403_feature_not_enabled.json | 4 ++-- .../paths/examples/errors/403_subscription_not_active.json | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/deep-sides-grow.md diff --git a/.changeset/deep-sides-grow.md b/.changeset/deep-sides-grow.md new file mode 100644 index 00000000..75c105c4 --- /dev/null +++ b/.changeset/deep-sides-grow.md @@ -0,0 +1,5 @@ +--- +'fingerprint-pro-server-api-openapi': patch +--- + +Fix errors examples `403_feature_not_enabled` and `403_subscription_not_active`. \ No newline at end of file diff --git a/schemas/paths/examples/errors/403_feature_not_enabled.json b/schemas/paths/examples/errors/403_feature_not_enabled.json index 3deac898..9820a568 100644 --- a/schemas/paths/examples/errors/403_feature_not_enabled.json +++ b/schemas/paths/examples/errors/403_feature_not_enabled.json @@ -1,6 +1,6 @@ { "error": { - "code": "SubscriptionNotActive", - "message": "forbidden" + "code": "FeatureNotEnabled", + "message": "feature not enabled" } } diff --git a/schemas/paths/examples/errors/403_subscription_not_active.json b/schemas/paths/examples/errors/403_subscription_not_active.json index 9820a568..3deac898 100644 --- a/schemas/paths/examples/errors/403_subscription_not_active.json +++ b/schemas/paths/examples/errors/403_subscription_not_active.json @@ -1,6 +1,6 @@ { "error": { - "code": "FeatureNotEnabled", - "message": "feature not enabled" + "code": "SubscriptionNotActive", + "message": "forbidden" } }