Skip to content

Commit

Permalink
Merge pull request #21 from frontegg/revert-20-update-openapi
Browse files Browse the repository at this point in the history
Revert "Update OpenAPI Specs"
  • Loading branch information
MashaPav authored Nov 14, 2024
2 parents 9f41419 + 90a8d84 commit 684e55e
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions agent.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.0",
"paths": {
"/v2/data/e10s/features/is_entitled_to_input_feature": {
"/v1/data/e10s/features/is_entitled_to_input_feature": {
"post": {
"operationId": "OpenApiPDPController_isEntitledToFeature",
"summary": "Is Entitled To Feature",
Expand Down Expand Up @@ -45,12 +45,11 @@
]
}
},
"/v1/data/e10s/features/is_entitled_to_input_feature": {
"/v1/data/e10s/permissions/is_entitled_to_input_permission": {
"post": {
"deprecated": true,
"operationId": "OpenApiPDPController_isEntitledToFeature",
"summary": "Is Entitled To Feature",
"description": "Check whether a given tenant or user is entitled to the requested feature",
"operationId": "OpenApiPDPController_isEntitledToPermission",
"summary": "Is Entitled To Permission",
"description": "Check whether a given user is entitled to the requested permission",
"parameters": [],
"requestBody": {
"required": true,
Expand All @@ -64,7 +63,7 @@
"$ref": "#/components/schemas/SubjectContext"
},
"requestContext": {
"$ref": "#/components/schemas/IsEntitledToFeatureDto"
"$ref": "#/components/schemas/IsEntitledToPermissionDto"
}
}
}
Expand All @@ -90,11 +89,11 @@
]
}
},
"/v1/data/e10s/permissions/is_entitled_to_input_permission": {
"/v1/data/e10s/routes/is_entitled_to_input_route": {
"post": {
"operationId": "OpenApiPDPController_isEntitledToPermission",
"summary": "Is Entitled To Permission",
"description": "Check whether a given user is entitled to the requested permission",
"operationId": "OpenApiPDPController_isEntitledToRoute",
"summary": "Is Entitled To Route",
"description": "Check whether a given tenant or user is entitled to the requested route",
"parameters": [],
"requestBody": {
"required": true,
Expand All @@ -108,7 +107,7 @@
"$ref": "#/components/schemas/SubjectContext"
},
"requestContext": {
"$ref": "#/components/schemas/IsEntitledToPermissionDto"
"$ref": "#/components/schemas/IsEntitledToRouteDto"
}
}
}
Expand Down

0 comments on commit 684e55e

Please sign in to comment.