From dd004b995f2dbf222fc662cfcfea986145bff8c7 Mon Sep 17 00:00:00 2001 From: frontegg Date: Thu, 14 Nov 2024 11:40:26 +0000 Subject: [PATCH] update openapi specifications --- agent.json | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/agent.json b/agent.json index f339f29..e97d0ea 100644 --- a/agent.json +++ b/agent.json @@ -1,7 +1,7 @@ { "openapi": "3.0.0", "paths": { - "/v1/data/e10s/features/is_entitled_to_input_feature": { + "/v2/data/e10s/features/is_entitled_to_input_feature": { "post": { "operationId": "OpenApiPDPController_isEntitledToFeature", "summary": "Is Entitled To Feature", @@ -45,11 +45,12 @@ ] } }, - "/v1/data/e10s/permissions/is_entitled_to_input_permission": { + "/v1/data/e10s/features/is_entitled_to_input_feature": { "post": { - "operationId": "OpenApiPDPController_isEntitledToPermission", - "summary": "Is Entitled To Permission", - "description": "Check whether a given user is entitled to the requested permission", + "deprecated": true, + "operationId": "OpenApiPDPController_isEntitledToFeature", + "summary": "Is Entitled To Feature", + "description": "Check whether a given tenant or user is entitled to the requested feature", "parameters": [], "requestBody": { "required": true, @@ -63,7 +64,7 @@ "$ref": "#/components/schemas/SubjectContext" }, "requestContext": { - "$ref": "#/components/schemas/IsEntitledToPermissionDto" + "$ref": "#/components/schemas/IsEntitledToFeatureDto" } } } @@ -89,11 +90,11 @@ ] } }, - "/v1/data/e10s/routes/is_entitled_to_input_route": { + "/v1/data/e10s/permissions/is_entitled_to_input_permission": { "post": { - "operationId": "OpenApiPDPController_isEntitledToRoute", - "summary": "Is Entitled To Route", - "description": "Check whether a given tenant or user is entitled to the requested route", + "operationId": "OpenApiPDPController_isEntitledToPermission", + "summary": "Is Entitled To Permission", + "description": "Check whether a given user is entitled to the requested permission", "parameters": [], "requestBody": { "required": true, @@ -107,7 +108,7 @@ "$ref": "#/components/schemas/SubjectContext" }, "requestContext": { - "$ref": "#/components/schemas/IsEntitledToRouteDto" + "$ref": "#/components/schemas/IsEntitledToPermissionDto" } } }