{
  "openapi": "3.1.1",
  "info": {
    "title": "BellaBaxter.Api | v1",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "http://localhost:5522/"
    }
  ],
  "paths": {
    "/api/v1/webhooks": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Webhooks.CreateWebhook"
        ],
        "summary": "POST_api_v1_webhooks",
        "description": "POST_api_v1_webhooks",
        "operationId": "createWebhook",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWebhookRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatedWebhookResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatedWebhookResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/webhooks/{id}/deactivate": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Webhooks.DeactivateWebhook"
        ],
        "summary": "POST_api_v1_webhooks_id_deactivate",
        "description": "POST_api_v1_webhooks_id_deactivate",
        "operationId": "deactivateWebhook",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/WebhookId"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookOperationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/webhooks/{id}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Webhooks.DeleteWebhook"
        ],
        "summary": "DELETE_api_v1_webhooks_id",
        "description": "DELETE_api_v1_webhooks_id",
        "operationId": "deleteWebhook",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/WebhookId"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookOperationResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Webhooks.GetWebhook"
        ],
        "summary": "GET_api_v1_webhooks_id",
        "description": "GET_api_v1_webhooks_id",
        "operationId": "getWebhookById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "BellaBaxter.Features.Webhooks.UpdateWebhook"
        ],
        "summary": "PUT_api_v1_webhooks_id",
        "description": "PUT_api_v1_webhooks_id",
        "operationId": "updateWebhook",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/WebhookId"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWebhookRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookOperationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/webhooks/{id}/link-provider": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Webhooks.LinkWebhookToProvider"
        ],
        "summary": "POST_api_v1_webhooks_id_link_provider",
        "description": "POST_api_v1_webhooks_id_link_provider",
        "operationId": "linkWebhookToProvider",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LinkProviderRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookOperationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/environments/{id}/webhooks": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Webhooks.ListEnvironmentWebhooks"
        ],
        "summary": "GET_api_v1_environments_id_webhooks",
        "description": "GET_api_v1_environments_id_webhooks",
        "operationId": "listEnvironmentWebhooks",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{id}/webhooks": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Webhooks.ListProjectWebhooks"
        ],
        "summary": "GET_api_v1_projects_id_webhooks",
        "description": "GET_api_v1_projects_id_webhooks",
        "operationId": "listProjectWebhooks",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/admin/webhooks": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Webhooks.ListTenantWebhooks"
        ],
        "summary": "GET_api_v1_admin_webhooks",
        "description": "GET_api_v1_admin_webhooks",
        "operationId": "listTenantWebhooks",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/webhooks/{id}/deliveries": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Webhooks.ListWebhookDeliveries"
        ],
        "summary": "GET_api_v1_webhooks_id_deliveries",
        "description": "GET_api_v1_webhooks_id_deliveries",
        "operationId": "listWebhookDeliveries",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/webhooks/{id}/reactivate": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Webhooks.ReactivateWebhook"
        ],
        "summary": "POST_api_v1_webhooks_id_reactivate",
        "description": "POST_api_v1_webhooks_id_reactivate",
        "operationId": "reactivateWebhook",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/WebhookId"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookOperationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/webhooks/{id}/rotate-secret": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Webhooks.RotateWebhookSecret"
        ],
        "summary": "POST_api_v1_webhooks_id_rotate_secret",
        "description": "POST_api_v1_webhooks_id_rotate_secret",
        "operationId": "rotateWebhookSecret",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/webhooks/{id}/test": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Webhooks.TestWebhook"
        ],
        "summary": "POST_api_v1_webhooks_id_test",
        "description": "POST_api_v1_webhooks_id_test",
        "operationId": "testWebhook",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/users/change-password": {
      "put": {
        "tags": [
          "BellaBaxter.Features.Users.ChangeUserPassword"
        ],
        "summary": "PUT_api_v1_users_change_password",
        "description": "PUT_api_v1_users_change_password",
        "operationId": "changeUserPassword",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChangePasswordResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/users/{userId}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Users.DeactivateUserAccount"
        ],
        "summary": "DELETE_api_v1_users_userId",
        "description": "DELETE_api_v1_users_userId",
        "operationId": "deactivateUserAccount",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "reason",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Users.GetUserById"
        ],
        "summary": "GET_api_v1_users_userId",
        "description": "GET_api_v1_users_userId",
        "operationId": "getUserById",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/users/me": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Users.GetCurrentUser"
        ],
        "summary": "GET_api_v1_users_me",
        "description": "GET_api_v1_users_me",
        "operationId": "getCurrentUser",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrentUserResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "BellaBaxter.Features.Users.UpdateCurrentUser"
        ],
        "summary": "PUT_api_v1_users_me",
        "description": "PUT_api_v1_users_me",
        "operationId": "updateCurrentUser",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCurrentUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/users/{userId}/reactivate": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Users.ReactivateUserAccount"
        ],
        "summary": "POST_api_v1_users_userId_reactivate",
        "description": "POST_api_v1_users_userId_reactivate",
        "operationId": "reactivateUser",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/users/handshake": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Users.Handshake.HandshakeEndpoint"
        ],
        "summary": "POST_api_users_handshake",
        "description": "POST_api_users_handshake",
        "operationId": "Handshake",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HandshakeResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/tenants/invites/{token}/accept": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Tenants.AcceptTenantInvite"
        ],
        "summary": "POST_api_tenants_invites_token_accept",
        "description": "POST_api_tenants_invites_token_accept",
        "operationId": "AcceptTenantInvite",
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptInviteResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/admin/tenants/{id}/plan": {
      "put": {
        "tags": [
          "BellaBaxter.Features.Tenants.ChangeTenantPlan"
        ],
        "summary": "PUT_api_v1_admin_tenants_id_plan",
        "description": "PUT_api_v1_admin_tenants_id_plan",
        "operationId": "changeTenantPlan",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeTenantPlanRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeTenantPlanResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/users/{userId}/role": {
      "put": {
        "tags": [
          "BellaBaxter.Features.Tenants.ChangeTenantUserRole"
        ],
        "summary": "PUT_api_tenants_id_users_userId_role",
        "description": "PUT_api_tenants_id_users_userId_role",
        "operationId": "ChangeTenantUserRole",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeRoleCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantUserResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/me/sso/oidc": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Tenants.ConfigureOidcSso"
        ],
        "summary": "POST_api_v1_tenants_me_sso_oidc",
        "description": "POST_api_v1_tenants_me_sso_oidc",
        "operationId": "configureOidcSso",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigureOidcSsoRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SsoConfigResponse"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/me/sso/saml": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Tenants.ConfigureSamlSso"
        ],
        "summary": "POST_api_v1_tenants_me_sso_saml",
        "description": "POST_api_v1_tenants_me_sso_saml",
        "operationId": "configureSamlSso",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigureSamlSsoRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SsoConfigResponse"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/tenants/new": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Tenants.CreateOwnTenant"
        ],
        "summary": "POST_api_tenants_new",
        "description": "POST_api_tenants_new",
        "operationId": "CreateOwnTenant",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOwnTenantCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateOwnTenantResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateOwnTenantResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/tenants": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Tenants.CreateTenant"
        ],
        "summary": "POST_api_tenants",
        "description": "POST_api_tenants",
        "operationId": "POST_api_tenants",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Command"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Tenants.ListTenants"
        ],
        "summary": "GET_api_tenants",
        "description": "GET_api_tenants",
        "operationId": "ListTenants",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ListTenantsResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/invites": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Tenants.CreateTenantInvite"
        ],
        "summary": "POST_api_tenants_id_invites",
        "description": "POST_api_tenants_id_invites",
        "operationId": "CreateTenantInvite",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInviteCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InviteResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InviteResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Tenants.ListTenantInvites"
        ],
        "summary": "GET_api_tenants_id_invites",
        "description": "GET_api_tenants_id_invites",
        "operationId": "ListTenantInvites",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InviteListResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/me/encryption-key/emergency-kit": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Tenants.DownloadEmergencyKit"
        ],
        "summary": "GET_api_v1_tenants_me_encryption_key_emergency_kit",
        "description": "GET_api_v1_tenants_me_encryption_key_emergency_kit",
        "operationId": "downloadEmergencyKit",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmergencyKit"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenant/billing/statements": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Tenants.GetBillingStatements"
        ],
        "summary": "GET_api_v1_tenant_billing_statements",
        "description": "GET_api_v1_tenant_billing_statements",
        "operationId": "getBillingStatements",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "size",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BillingStatementResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/me/sso": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Tenants.GetSsoConfig"
        ],
        "summary": "GET_api_v1_tenants_me_sso",
        "description": "GET_api_v1_tenants_me_sso",
        "operationId": "getSsoConfig",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SsoStatusResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "BellaBaxter.Features.Tenants.RemoveSso"
        ],
        "summary": "DELETE_api_v1_tenants_me_sso",
        "description": "DELETE_api_v1_tenants_me_sso",
        "operationId": "removeSso",
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "BellaBaxter.Features.Tenants.UpdateSsoConfig"
        ],
        "summary": "PUT_api_v1_tenants_me_sso",
        "description": "PUT_api_v1_tenants_me_sso",
        "operationId": "updateSsoConfig",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSsoConfigRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SsoConfigResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{identifier}": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Tenants.GetTenant"
        ],
        "summary": "GET_api_tenants_identifier",
        "description": "GET_api_tenants_identifier",
        "operationId": "GetTenant",
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTenantResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/me/encryption-key": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Tenants.GetTenantEncryptionKey"
        ],
        "summary": "GET_api_v1_tenants_me_encryption_key",
        "description": "GET_api_v1_tenants_me_encryption_key",
        "operationId": "getTenantEncryptionKey",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantEncryptionKeyStatusResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "BellaBaxter.Features.Tenants.RegisterTenantEncryptionKey"
        ],
        "summary": "POST_api_v1_tenants_me_encryption_key",
        "description": "POST_api_v1_tenants_me_encryption_key",
        "operationId": "registerTenantEncryptionKey",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterTenantEncryptionKeyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterTenantEncryptionKeyResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/tenants/invites/{token}/preview": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Tenants.GetTenantInvite"
        ],
        "summary": "GET_api_tenants_invites_token_preview",
        "description": "GET_api_tenants_invites_token_preview",
        "operationId": "GetTenantInvite",
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InvitePreviewResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenant/usage": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Tenants.GetTenantUsage"
        ],
        "summary": "GET_api_v1_tenant_usage",
        "description": "GET_api_v1_tenant_usage",
        "operationId": "getTenantUsage",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantUsageResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/users": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Tenants.ListTenantUsers"
        ],
        "summary": "GET_api_tenants_id_users",
        "description": "GET_api_tenants_id_users",
        "operationId": "ListTenantUsers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TenantUserResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/me/encryption-key/migrate": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Tenants.MigrateTenantEncryption"
        ],
        "summary": "POST_api_v1_tenants_me_encryption_key_migrate",
        "description": "POST_api_v1_tenants_me_encryption_key_migrate",
        "operationId": "migrateTenantEncryption",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrateTenantEncryptionResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/me/encryption-key/recovery-challenge": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Tenants.RecoverTenantEncryptionKey"
        ],
        "summary": "GET_api_v1_tenants_me_encryption_key_recovery_challenge",
        "description": "GET_api_v1_tenants_me_encryption_key_recovery_challenge",
        "operationId": "getTenantEncryptionKeyRecoveryChallenge",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecoveryChallengeResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/me/encryption-key/recover": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Tenants.RecoverTenantEncryptionKey"
        ],
        "summary": "POST_api_v1_tenants_me_encryption_key_recover",
        "description": "POST_api_v1_tenants_me_encryption_key_recover",
        "operationId": "recoverTenantEncryptionKey",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecoverEncryptionKeyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecoverEncryptionKeyResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/users/{userId}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Tenants.RemoveTenantUser"
        ],
        "summary": "DELETE_api_tenants_id_users_userId",
        "description": "DELETE_api_tenants_id_users_userId",
        "operationId": "RemoveTenantUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/me/encryption-key/reprovision": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Tenants.ReprovisionTenantDek"
        ],
        "summary": "POST_api_v1_tenants_me_encryption_key_reprovision",
        "description": "POST_api_v1_tenants_me_encryption_key_reprovision",
        "operationId": "reprovisionTenantDek",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReprovisionTenantDekResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/me/sso/request": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Tenants.RequestSsoAccess"
        ],
        "summary": "POST_api_v1_tenants_me_sso_request",
        "description": "POST_api_v1_tenants_me_sso_request",
        "operationId": "requestSsoAccess",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestSsoAccessResponse"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/invites/{token}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Tenants.RevokeTenantInvite"
        ],
        "summary": "DELETE_api_tenants_id_invites_token",
        "description": "DELETE_api_tenants_id_invites_token",
        "operationId": "RevokeTenantInvite",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{id}/switch": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Tenants.SwitchTenant"
        ],
        "summary": "POST_api_tenants_id_switch",
        "description": "POST_api_tenants_id_switch",
        "operationId": "SwitchTenant",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SwitchTenantResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/tenants/my-tenants": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Tenants.TenantAccessEndpoints"
        ],
        "summary": "GET_api_tenants_my_tenants",
        "description": "GET_api_tenants_my_tenants",
        "operationId": "GetMyTenants",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TenantAccess"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{tenantId}/verify-access": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Tenants.TenantAccessEndpoints"
        ],
        "summary": "GET_api_tenants_tenantId_verify_access",
        "description": "GET_api_tenants_tenantId_verify_access",
        "operationId": "VerifyTenantAccess",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantAccessResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/tenants/{tenantId}/settings": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Tenants.ProtectedTenantEndpointExample"
        ],
        "summary": "GET_api_tenants_tenantId_settings",
        "description": "GET_api_tenants_tenantId_settings",
        "operationId": "GetTenantSettings",
        "parameters": [
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/me/sso/enforce": {
      "put": {
        "tags": [
          "BellaBaxter.Features.Tenants.ToggleSsoEnforcement"
        ],
        "summary": "PUT_api_v1_tenants_me_sso_enforce",
        "description": "PUT_api_v1_tenants_me_sso_enforce",
        "operationId": "toggleSsoEnforcement",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ToggleSsoEnforcementRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToggleSsoEnforcementResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/me/zke/enforce": {
      "put": {
        "tags": [
          "BellaBaxter.Features.Tenants.ToggleZkeEnforcement"
        ],
        "summary": "PUT_api_v1_tenants_me_zke_enforce",
        "description": "PUT_api_v1_tenants_me_zke_enforce",
        "operationId": "toggleZkeEnforcement",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ToggleZkeEnforcementRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToggleZkeEnforcementResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/diagnostics/auth": {
      "get": {
        "tags": [
          "BellaBaxter.Features.SystemEndpoints.DiagnosticsEndpoint"
        ],
        "summary": "GET_api_diagnostics_auth",
        "description": "GET_api_diagnostics_auth",
        "operationId": "GET_api_diagnostics_auth",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthDiagnostics"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/system/integration-info": {
      "get": {
        "tags": [
          "BellaBaxter.Features.SystemEndpoints.GetIntegrationInfo"
        ],
        "summary": "GET_api_v1_system_integration_info",
        "description": "GET_api_v1_system_integration_info",
        "operationId": "getIntegrationInfo",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationInfoResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/version": {
      "get": {
        "tags": [
          "BellaBaxter.Features.SystemEndpoints.GetVersion"
        ],
        "summary": "GET_api_version",
        "description": "GET_api_version",
        "operationId": "GET_api_version",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/system/rate-limit/status": {
      "get": {
        "tags": [
          "BellaBaxter.Features.SystemEndpoints.SystemEndpoints"
        ],
        "summary": "GET_api_v1_system_rate_limit_status",
        "description": "GET_api_v1_system_rate_limit_status",
        "operationId": "GET_api_v1_system_rate_limit_status",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/system/health/rate-limit": {
      "get": {
        "tags": [
          "BellaBaxter.Features.SystemEndpoints.SystemEndpoints"
        ],
        "summary": "GET_api_v1_system_health_rate_limit",
        "description": "GET_api_v1_system_health_rate_limit",
        "operationId": "GET_api_v1_system_health_rate_limit",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/superadmin/users/{userId}/tenants": {
      "get": {
        "tags": [
          "BellaBaxter.Features.SuperAdmin.GetUserTenants"
        ],
        "summary": "GET_api_v1_superadmin_users_userId_tenants",
        "description": "GET_api_v1_superadmin_users_userId_tenants",
        "operationId": "GetUserTenants",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserTenantItem"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/ssh/logs": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Ssh.ListSshLogs"
        ],
        "summary": "GET_api_v1_ssh_logs",
        "description": "GET_api_v1_ssh_logs",
        "operationId": "listSshLogs",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "size",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "environmentId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectSlug",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "action",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "roleName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "actorType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "from",
            "in": "query",
            "schema": {
              "type": [
                "null",
                "string"
              ],
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "schema": {
              "type": [
                "null",
                "string"
              ],
              "format": "date-time"
            }
          },
          {
            "name": "apiKeyId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SshLogPage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/shares": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Shares.CreateShare"
        ],
        "summary": "POST_api_v1_shares",
        "description": "POST_api_v1_shares",
        "operationId": "createShare",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateShareCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateShareResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateShareResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Shares.ListMyShares"
        ],
        "summary": "GET_api_v1_shares",
        "description": "GET_api_v1_shares",
        "operationId": "listMyShares",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShareListItem"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/shares/{id}": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Shares.GetShare"
        ],
        "summary": "GET_api_v1_shares_id",
        "description": "GET_api_v1_shares_id",
        "operationId": "getShare",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShareMetaResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "BellaBaxter.Features.Shares.RevokeShare"
        ],
        "summary": "DELETE_api_v1_shares_id",
        "description": "DELETE_api_v1_shares_id",
        "operationId": "revokeShare",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/shares/{id}/unlock": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Shares.UnlockShare"
        ],
        "summary": "POST_api_v1_shares_id_unlock",
        "description": "POST_api_v1_shares_id_unlock",
        "operationId": "unlockShare",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UnlockShareCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShareContentResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/environments/{id}/security": {
      "get": {
        "tags": [
          "BellaBaxter.Features.SecurityIntelligence.GetEnvironmentSecurityReport"
        ],
        "summary": "GET_api_v1_environments_id_security",
        "description": "GET_api_v1_environments_id_security",
        "operationId": "getEnvironmentSecurityReport",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentSecurityReportResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectSlug}/security": {
      "get": {
        "tags": [
          "BellaBaxter.Features.SecurityIntelligence.GetProjectSecurity"
        ],
        "summary": "GET_api_v1_projects_projectSlug_security",
        "description": "GET_api_v1_projects_projectSlug_security",
        "operationId": "getProjectSecurity",
        "parameters": [
          {
            "name": "projectSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectSecurityResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectSlug}/security/scan": {
      "post": {
        "tags": [
          "BellaBaxter.Features.SecurityIntelligence.TriggerProjectGlobalScan"
        ],
        "summary": "POST_api_v1_projects_projectSlug_security_scan",
        "description": "POST_api_v1_projects_projectSlug_security_scan",
        "operationId": "triggerProjectGlobalScan",
        "parameters": [
          {
            "name": "projectSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "read"
        }
      }
    },
    "/api/v1/security/summary": {
      "get": {
        "tags": [
          "BellaBaxter.Features.SecurityIntelligence.GetTenantSecuritySummary"
        ],
        "summary": "GET_api_v1_security_summary",
        "description": "GET_api_v1_security_summary",
        "operationId": "getTenantSecuritySummary",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantSecuritySummaryResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/environments/{id}/security/scan": {
      "post": {
        "tags": [
          "BellaBaxter.Features.SecurityIntelligence.TriggerEnvironmentScan"
        ],
        "summary": "POST_api_v1_environments_id_security_scan",
        "description": "POST_api_v1_environments_id_security_scan",
        "operationId": "triggerEnvironmentScan",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TriggerScanResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/providers": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Providers.CreateProvider"
        ],
        "summary": "POST_api_v1_providers",
        "description": "POST_api_v1_providers",
        "operationId": "createProvider",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProviderCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProviderOperationResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProviderOperationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Providers.ListProviders"
        ],
        "summary": "GET_api_v1_providers",
        "description": "GET_api_v1_providers",
        "operationId": "listProviders",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProviderResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/providers/{id}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Providers.DeleteProvider"
        ],
        "summary": "DELETE_api_v1_providers_id",
        "description": "DELETE_api_v1_providers_id",
        "operationId": "deleteProvider",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Providers.GetProvider"
        ],
        "summary": "GET_api_v1_providers_id",
        "description": "GET_api_v1_providers_id",
        "operationId": "getProviderById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProviderResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "BellaBaxter.Features.Providers.UpdateProvider"
        ],
        "summary": "PUT_api_v1_providers_id",
        "description": "PUT_api_v1_providers_id",
        "operationId": "updateProvider",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProviderCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProviderOperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/providers/regions/aws": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Providers.GetAwsRegions"
        ],
        "summary": "GET_api_v1_providers_regions_aws",
        "description": "GET_api_v1_providers_regions_aws",
        "operationId": "getAwsRegions",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AwsRegionResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/providers/catalog": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Providers.GetProviderCatalog"
        ],
        "summary": "GET_api_v1_providers_catalog",
        "description": "GET_api_v1_providers_catalog",
        "operationId": "getProviderCatalog",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProviderCatalogResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/providers": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Providers.GetProvidersByProject"
        ],
        "summary": "GET_api_v1_projects_projectRef_providers",
        "description": "GET_api_v1_projects_projectRef_providers",
        "operationId": "getProvidersByProject",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProviderResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.AssignProvidersToProject"
        ],
        "summary": "POST_api_v1_projects_projectRef_providers",
        "description": "POST_api_v1_projects_projectRef_providers",
        "operationId": "assignProvidersToProject",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignProvidersCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "manage"
        }
      }
    },
    "/api/v1/providers/init-system": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Providers.InitSystemProvider"
        ],
        "summary": "POST_api_v1_providers_init_system",
        "description": "POST_api_v1_providers_init_system",
        "operationId": "initSystemProvider",
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/providers/search": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Providers.SearchProviders"
        ],
        "summary": "GET_api_v1_providers_search",
        "description": "GET_api_v1_providers_search",
        "operationId": "searchProviders",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProviderResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/users": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.AssignProjectUsers"
        ],
        "summary": "POST_api_v1_projects_projectRef_users",
        "description": "POST_api_v1_projects_projectRef_users",
        "operationId": "assignUsersToProject",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignUsersRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "manage"
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.GetProjectUsers"
        ],
        "summary": "GET_api_v1_projects_projectRef_users",
        "description": "GET_api_v1_projects_projectRef_users",
        "operationId": "getProjectUsers",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectUserResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.DeleteProject"
        ],
        "summary": "DELETE_api_v1_projects_projectRef",
        "description": "DELETE_api_v1_projects_projectRef",
        "operationId": "deleteProject",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "manage"
        }
      },
      "put": {
        "tags": [
          "BellaBaxter.Features.Projects.UpdateProject"
        ],
        "summary": "PUT_api_v1_projects_projectRef",
        "description": "PUT_api_v1_projects_projectRef",
        "operationId": "updateProject",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProjectRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProjectResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "manage"
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.GetProject.GetProject"
        ],
        "summary": "GET_api_v1_projects_projectRef",
        "description": "GET_api_v1_projects_projectRef",
        "operationId": "getProjectById",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProjectResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/export": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.ExportProject"
        ],
        "summary": "GET_api_v1_projects_projectRef_export",
        "description": "GET_api_v1_projects_projectRef_export",
        "operationId": "exportProject",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectExportBundle"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{id}/encryption-key": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.GetProjectEncryptionKey"
        ],
        "summary": "GET_api_v1_projects_id_encryption_key",
        "description": "GET_api_v1_projects_id_encryption_key",
        "operationId": "getProjectEncryptionKey",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectEncryptionKeyStatusResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/secret-drift": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.GetSecretDrift"
        ],
        "summary": "GET_api_v1_projects_projectRef_secret_drift",
        "description": "GET_api_v1_projects_projectRef_secret_drift",
        "operationId": "getSecretDrift",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DriftResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/import": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.ImportProject"
        ],
        "summary": "POST_api_v1_projects_import",
        "description": "POST_api_v1_projects_import",
        "operationId": "importProject",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectExportBundle"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectImportResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectImportResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "402": {
            "description": "Payment Required",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.ListProjects"
        ],
        "summary": "GET_api_v1_projects",
        "description": "GET_api_v1_projects",
        "operationId": "getAllProjects",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "size",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortDir",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tag",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PageProjectResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.CreateProject.CreateProject"
        ],
        "summary": "POST_api_v1_projects",
        "description": "POST_api_v1_projects",
        "operationId": "createProject",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProjectCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectOperationResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectOperationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "402": {
            "description": "Payment Required",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/search": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.ListProjects"
        ],
        "summary": "GET_api_v1_projects_search",
        "description": "GET_api_v1_projects_search",
        "operationId": "searchProjects",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "501": {
            "description": "Not Implemented",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/tags": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.ListProjects"
        ],
        "summary": "GET_api_v1_projects_tags",
        "description": "GET_api_v1_projects_tags",
        "operationId": "getProjectTags",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{id}/encryption-key/provision": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.ProvisionProjectDek"
        ],
        "summary": "POST_api_v1_projects_id_encryption_key_provision",
        "description": "POST_api_v1_projects_id_encryption_key_provision",
        "operationId": "provisionProjectDek",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProvisionProjectDekResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/users/{userId}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.RemoveProjectUser"
        ],
        "summary": "DELETE_api_v1_projects_projectRef_users_userId",
        "description": "DELETE_api_v1_projects_projectRef_users_userId",
        "operationId": "removeUserFromProject",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{id}/encryption-key/rotate": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.RotateProjectDek"
        ],
        "summary": "POST_api_v1_projects_id_encryption_key_rotate",
        "description": "POST_api_v1_projects_id_encryption_key_rotate",
        "operationId": "rotateProjectDek",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RotateProjectDekResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/global-secret-provider": {
      "put": {
        "tags": [
          "BellaBaxter.Features.Projects.SetGlobalSecretProvider"
        ],
        "summary": "PUT_api_v1_projects_projectRef_global_secret_provider",
        "description": "PUT_api_v1_projects_projectRef_global_secret_provider",
        "operationId": "setGlobalSecretProvider",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetGlobalSecretProviderCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetGlobalSecretProviderResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/providers/{providerId}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.UnassignProviderFromProject"
        ],
        "summary": "DELETE_api_v1_projects_projectRef_providers_providerId",
        "description": "DELETE_api_v1_projects_projectRef_providers_providerId",
        "operationId": "unassignProviderFromProject",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/users/{userId}/permissions": {
      "put": {
        "tags": [
          "BellaBaxter.Features.Projects.UpdateProjectUserPermissions"
        ],
        "summary": "PUT_api_v1_projects_projectRef_users_userId_permissions",
        "description": "PUT_api_v1_projects_projectRef_users_userId_permissions",
        "operationId": "updateUserPermissions",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserPermissionsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/groups": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Groups.AssignGroupToProject"
        ],
        "summary": "POST_api_v1_projects_projectRef_groups",
        "description": "POST_api_v1_projects_projectRef_groups",
        "operationId": "assignGroupToProject",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignGroupToProjectRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Groups.GetProjectGroups"
        ],
        "summary": "GET_api_v1_projects_projectRef_groups",
        "description": "GET_api_v1_projects_projectRef_groups",
        "operationId": "getProjectGroups",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GroupAssignmentResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/groups/{groupId}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.Groups.UnassignGroupFromProject"
        ],
        "summary": "DELETE_api_v1_projects_projectRef_groups_groupId",
        "description": "DELETE_api_v1_projects_projectRef_groups_groupId",
        "operationId": "unassignGroupFromProject",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/secrets": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.GlobalSecrets.CreateGlobalSecret"
        ],
        "summary": "POST_api_v1_projects_projectRef_secrets",
        "description": "POST_api_v1_projects_projectRef_secrets",
        "operationId": "createGlobalSecret",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSecretRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSecretResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSecretResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "manage"
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.GlobalSecrets.ListGlobalSecrets"
        ],
        "summary": "GET_api_v1_projects_projectRef_secrets",
        "description": "GET_api_v1_projects_projectRef_secrets",
        "operationId": "listGlobalSecrets",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListGlobalSecretsResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/secrets/{key}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.GlobalSecrets.DeleteGlobalSecret"
        ],
        "summary": "DELETE_api_v1_projects_projectRef_secrets_key",
        "description": "DELETE_api_v1_projects_projectRef_secrets_key",
        "operationId": "deleteGlobalSecret",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "manage"
        }
      },
      "put": {
        "tags": [
          "BellaBaxter.Features.Projects.GlobalSecrets.UpdateGlobalSecret"
        ],
        "summary": "PUT_api_v1_projects_projectRef_secrets_key",
        "description": "PUT_api_v1_projects_projectRef_secrets_key",
        "operationId": "updateGlobalSecret",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSecretRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateSecretResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.AssignProvidersToEnvironment"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_providers",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_providers",
        "operationId": "assignProvidersToEnvironment",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignProvidersCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.GetEnvironmentProviders"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_providers",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_providers",
        "operationId": "getEnvironmentProviders",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EnvironmentProviderResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/users": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.AssignUsersToEnvironment"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_users",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_users",
        "operationId": "assignUsersToEnvironment",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignUsersToEnvironmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.GetEnvironmentUsers"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_users",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_users",
        "operationId": "getEnvironmentUsers",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EnvironmentUserResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/copy": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.CopyEnvironment"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_copy",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_copy",
        "operationId": "copyEnvironment",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CopyEnvironmentCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CopyEnvironmentResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CopyEnvironmentResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.CreateEnvironment"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments",
        "description": "POST_api_v1_projects_projectRef_environments",
        "operationId": "createEnvironment",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEnvironmentCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentOperationResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentOperationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentOperationResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentOperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.ListEnvironments"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments",
        "description": "GET_api_v1_projects_projectRef_environments",
        "operationId": "getEnvironmentsByProject",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "includeArchived",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EnvironmentResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "project",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.DeleteEnvironment"
        ],
        "summary": "DELETE_api_v1_projects_projectRef_environments_envSlug",
        "description": "DELETE_api_v1_projects_projectRef_environments_envSlug",
        "operationId": "deleteEnvironment",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentOperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.GetEnvironment"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug",
        "operationId": "getEnvironment",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      },
      "put": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.UpdateEnvironment"
        ],
        "summary": "PUT_api_v1_projects_projectRef_environments_envSlug",
        "description": "PUT_api_v1_projects_projectRef_environments_envSlug",
        "operationId": "updateEnvironment",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEnvironmentCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentOperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/environments/{envId}/drift": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.GetEnvironmentDrift"
        ],
        "summary": "GET_api_v1_environments_envId_drift",
        "description": "GET_api_v1_environments_envId_drift",
        "operationId": "getEnvironmentDrift",
        "parameters": [
          {
            "name": "envId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentDriftResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/environments/{envId}/secret-drift-summary": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.GetSecretDriftSummary"
        ],
        "summary": "GET_api_v1_environments_envId_secret_drift_summary",
        "description": "GET_api_v1_environments_envId_secret_drift_summary",
        "operationId": "getSecretDriftSummary",
        "parameters": [
          {
            "name": "envId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SecretDriftSummaryResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.RemoveProviderFromEnvironment"
        ],
        "summary": "DELETE_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug",
        "description": "DELETE_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug",
        "operationId": "removeProviderFromEnvironment",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/users/{userId}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.RemoveUserFromEnvironment"
        ],
        "summary": "DELETE_api_v1_projects_projectRef_environments_envSlug_users_userId",
        "description": "DELETE_api_v1_projects_projectRef_environments_envSlug_users_userId",
        "operationId": "removeUserFromEnvironment",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      },
      "put": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.UpdateEnvironmentUserRole"
        ],
        "summary": "PUT_api_v1_projects_projectRef_environments_envSlug_users_userId",
        "description": "PUT_api_v1_projects_projectRef_environments_envSlug_users_userId",
        "operationId": "updateUserRole",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEnvironmentUserRoleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/restore": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.RestoreEnvironment"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_restore",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_restore",
        "operationId": "restoreEnvironment",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentOperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/lease-policy": {
      "put": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.UpdateLeasePolicy"
        ],
        "summary": "PUT_api_v1_projects_projectRef_environments_envSlug_lease_policy",
        "description": "PUT_api_v1_projects_projectRef_environments_envSlug_lease_policy",
        "operationId": "updateLeasePolicy",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLeasePolicyCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeasePolicyResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/environments/{environmentId}/trust-domains": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.TrustDomains.CreateTrustDomain"
        ],
        "summary": "POST_api_v1_environments_environmentId_trust_domains",
        "description": "POST_api_v1_environments_environmentId_trust_domains",
        "operationId": "createTrustDomain",
        "parameters": [
          {
            "name": "environmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTrustDomainCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrustDomainResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrustDomainResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.TrustDomains.ListTrustDomains"
        ],
        "summary": "GET_api_v1_environments_environmentId_trust_domains",
        "description": "GET_api_v1_environments_environmentId_trust_domains",
        "operationId": "listTrustDomains",
        "parameters": [
          {
            "name": "environmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TrustDomainResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/environments/{environmentId}/trust-domains/{id}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.TrustDomains.DeleteTrustDomain"
        ],
        "summary": "DELETE_api_v1_environments_environmentId_trust_domains_id",
        "description": "DELETE_api_v1_environments_environmentId_trust_domains_id",
        "operationId": "deleteTrustDomain",
        "parameters": [
          {
            "name": "environmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.TrustDomains.GetTrustDomain"
        ],
        "summary": "GET_api_v1_environments_environmentId_trust_domains_id",
        "description": "GET_api_v1_environments_environmentId_trust_domains_id",
        "operationId": "getTrustDomain",
        "parameters": [
          {
            "name": "environmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrustDomainResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      },
      "put": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.TrustDomains.UpdateTrustDomain"
        ],
        "summary": "PUT_api_v1_environments_environmentId_trust_domains_id",
        "description": "PUT_api_v1_environments_environmentId_trust_domains_id",
        "operationId": "updateTrustDomain",
        "parameters": [
          {
            "name": "environmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTrustDomainCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrustDomainResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/environments/{environmentId}/token": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.TrustDomains.ExchangeOidcToken"
        ],
        "summary": "POST_api_v1_environments_environmentId_token",
        "description": "POST_api_v1_environments_environmentId_token",
        "operationId": "exchangeOidcToken",
        "parameters": [
          {
            "name": "environmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExchangeOidcTokenCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OidcTokenResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/token": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.TrustDomains.ExchangeOidcTokenBySlug"
        ],
        "summary": "POST_api_v1_token",
        "description": "POST_api_v1_token",
        "operationId": "exchangeOidcTokenBySlug",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExchangeOidcTokenBySlugCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OidcTokenResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/totp/{name}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Totp.DeleteTotpKey"
        ],
        "summary": "DELETE_api_v1_projects_projectRef_environments_envSlug_totp_name",
        "description": "DELETE_api_v1_projects_projectRef_environments_envSlug_totp_name",
        "operationId": "deleteTotpKey",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TotpDeleteResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/totp/generate": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Totp.GenerateTotpKey"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_totp_generate",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_totp_generate",
        "operationId": "generateTotpKey",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateTotpKeyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TotpKeyImportResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TotpKeyImportResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/totp/{name}/code": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Totp.GetTotpCode"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_totp_name_code",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_totp_name_code",
        "operationId": "getTotpCode",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TotpCodeResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/totp/import": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Totp.ImportTotpKey"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_totp_import",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_totp_import",
        "operationId": "importTotpKey",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportTotpKeyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TotpKeyImportResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TotpKeyImportResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/totp": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Totp.ListTotpKeys"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_totp",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_totp",
        "operationId": "listTotpKeys",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TotpKeyListItem"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/ssh/configure": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Ssh.ConfigureSsh"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_ssh_configure",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_ssh_configure",
        "operationId": "configureSsh",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SshConfigureResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/ssh/roles": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Ssh.CreateSshRole"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_ssh_roles",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_ssh_roles",
        "operationId": "createSshRole",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SshCreateRoleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SshRoleResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SshRoleResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Ssh.ListSshRoles"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_ssh_roles",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_ssh_roles",
        "operationId": "listSshRoles",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SshRolesResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/ssh/roles/{roleName}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Ssh.DeleteSshRole"
        ],
        "summary": "DELETE_api_v1_projects_projectRef_environments_envSlug_ssh_roles_roleName",
        "description": "DELETE_api_v1_projects_projectRef_environments_envSlug_ssh_roles_roleName",
        "operationId": "deleteSshRole",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "roleName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/ssh/ca-public-key": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Ssh.GetSshCaPublicKey"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_ssh_ca_public_key",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_ssh_ca_public_key",
        "operationId": "getSshCaPublicKey",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SshCaPublicKeyResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/ssh/sign": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Ssh.SignSshKey"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_ssh_sign",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_ssh_sign",
        "operationId": "signSshKey",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SshSignRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SshSignedCertResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.CreateSecret"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets",
        "operationId": "createSecret",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSecretRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSecretResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSecretResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.GetSecretsByProvider"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets",
        "operationId": "listSecrets",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/E2EEncryptedPayload"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets/{key}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.DeleteSecret"
        ],
        "summary": "DELETE_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key",
        "description": "DELETE_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key",
        "operationId": "deleteSecret",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.GetSecret"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key",
        "operationId": "getSecret",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/E2EEncryptedPayload"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      },
      "put": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.UpdateSecret"
        ],
        "summary": "PUT_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key",
        "description": "PUT_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key",
        "operationId": "updateSecret",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSecretRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateSecretResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/secrets/export": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.ExportEnvironmentSecrets"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_secrets_export",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_secrets_export",
        "operationId": "exportEnvironmentSecrets",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets/export": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.ExportSecrets"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_export",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_export",
        "operationId": "exportSecrets",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/secrets": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.GetAllEnvironmentSecrets"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_secrets",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_secrets",
        "operationId": "getAllEnvironmentSecrets",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AllEnvironmentSecretsResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/secrets/version": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.GetEnvironmentSecretsVersion"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_secrets_version",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_secrets_version",
        "operationId": "getEnvironmentSecretsVersion",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvironmentSecretsVersionResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets/hash": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.GetSecretsHash"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_hash",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_hash",
        "operationId": "getSecretsHash",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SecretsHashResponse"
                }
              }
            }
          },
          "304": {
            "description": "Not Modified",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/secrets/manifest": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.GetSecretsManifest"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_secrets_manifest",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_secrets_manifest",
        "operationId": "getSecretsManifest",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SecretsManifest"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets/import": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.ImportSecrets"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_import",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_import",
        "operationId": "importSecrets",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportSecretsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportSecretsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets/import/preview": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.PreviewImportSecrets"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_import_preview",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_import_preview",
        "operationId": "previewImportSecrets",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sourceProviderId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportPreviewResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets/{key}/rotation-policy/rotate-signing-secret": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.RotateRotationSigningSecret"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_rotation_policy_rotate_signing_secret",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_rotation_policy_rotate_signing_secret",
        "operationId": "rotateRotationSigningSecret",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RotateRotationSigningSecretResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets/{key}/rotation-policy": {
      "put": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.SetSecretRotationPolicy"
        ],
        "summary": "PUT_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_rotation_policy",
        "description": "PUT_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_rotation_policy",
        "operationId": "setSecretRotationPolicy",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetRotationPolicyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetRotationPolicyResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets/{key}/rotate": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.TriggerSecretRotation"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_rotate",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_rotate",
        "operationId": "triggerSecretRotation",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Accepted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets/{key}/metadata": {
      "patch": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.UpdateSecretMetadata"
        ],
        "summary": "PATCH_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_metadata",
        "description": "PATCH_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_metadata",
        "operationId": "updateSecretMetadata",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSecretMetadataRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets/upload": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.UploadSecretsFile"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_upload",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_upload",
        "operationId": "uploadSecretsFile",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "required": [
                  "file"
                ],
                "type": "object",
                "allOf": [
                  {
                    "type": "object",
                    "properties": {
                      "overwriteExisting": {
                        "type": "boolean"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "typeOverrides": {
                        "type": "string"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "file": {
                        "$ref": "#/components/schemas/IFormFile"
                      }
                    }
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UploadSecretsFileResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets/{key}/versions/{version}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.Versions.DeleteSecretVersion"
        ],
        "summary": "DELETE_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_versions_version",
        "description": "DELETE_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_versions_version",
        "operationId": "deleteSecretVersion",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "501": {
            "description": "Not Implemented",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.Versions.GetSecretVersion"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_versions_version",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_versions_version",
        "operationId": "getSecretVersion",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/E2EEncryptedPayload"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "501": {
            "description": "Not Implemented",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets/{key}/versions/{version}/destroy": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.Versions.DestroySecretVersion"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_versions_version_destroy",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_versions_version_destroy",
        "operationId": "destroySecretVersion",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "501": {
            "description": "Not Implemented",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets/{key}/versions": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.Versions.ListSecretVersions"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_versions",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_versions",
        "operationId": "listSecretVersions",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SecretVersionsMetadata"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "501": {
            "description": "Not Implemented",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets/{key}/rollback": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.Versions.RollbackSecret"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_rollback",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_rollback",
        "operationId": "rollbackSecret",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RollbackSecretRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "501": {
            "description": "Not Implemented",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/secrets/{key}/versions/{version}/undelete": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Secrets.Versions.UndeleteSecretVersion"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_versions_version_undelete",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_secrets_key_versions_version_undelete",
        "operationId": "undeleteSecretVersion",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "501": {
            "description": "Not Implemented",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/pki/ca": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Pki.ConfigurePkiCa"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_pki_ca",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_pki_ca",
        "operationId": "configurePkiCa",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PkiCaSetupRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PkiCaResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Pki.GetPkiCa"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_pki_ca",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_pki_ca",
        "operationId": "getPkiCa",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PkiCaPublicKeyResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/pki/roles": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Pki.CreatePkiRole"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_pki_roles",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_pki_roles",
        "operationId": "createPkiRole",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PkiCreateRoleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PkiRoleResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Pki.ListPkiRoles"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_pki_roles",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_pki_roles",
        "operationId": "listPkiRoles",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PkiRolesResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/pki/roles/{roleName}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Pki.DeletePkiRole"
        ],
        "summary": "DELETE_api_v1_projects_projectRef_environments_envSlug_pki_roles_roleName",
        "description": "DELETE_api_v1_projects_projectRef_environments_envSlug_pki_roles_roleName",
        "operationId": "deletePkiRole",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "roleName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/pki/issue": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Pki.IssuePkiCertificate"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_pki_issue",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_pki_issue",
        "operationId": "issuePkiCertificate",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PkiIssueCertificateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PkiIssuedCertificateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/pki/certificates": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Pki.ListPkiCertificates"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_pki_certificates",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_pki_certificates",
        "operationId": "listPkiCertificates",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PkiCertificatesResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/pki/revoke": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Pki.RevokePkiCertificate"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_pki_revoke",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_pki_revoke",
        "operationId": "revokePkiCertificate",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PkiRevokeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PkiRevokeResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/pki/tidy": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Pki.TidyPkiCerts"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_pki_tidy",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_pki_tidy",
        "operationId": "tidyPkiCerts",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PkiTidyResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/leases": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Leases.ListLeases"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_leases",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_leases",
        "operationId": "listLeases",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LeaseResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/leases/{leaseId}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Leases.RevokeLeases"
        ],
        "summary": "DELETE_api_v1_projects_projectRef_environments_envSlug_leases_leaseId",
        "description": "DELETE_api_v1_projects_projectRef_environments_envSlug_leases_leaseId",
        "operationId": "revokeLease",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "leaseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/groups": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Groups.AssignGroupToEnvironment"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_groups",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_groups",
        "operationId": "assignGroupToEnvironment",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignGroupToEnvironmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Groups.GetEnvironmentGroups"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_groups",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_groups",
        "operationId": "getEnvironmentGroups",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GroupAssignmentResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/groups/{groupId}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.Groups.UnassignGroupFromEnvironment"
        ],
        "summary": "DELETE_api_v1_projects_projectRef_environments_envSlug_groups_groupId",
        "description": "DELETE_api_v1_projects_projectRef_environments_envSlug_groups_groupId",
        "operationId": "unassignGroupFromEnvironment",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/credentials/generate": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.DynamicCredentials.GenerateCredentials"
        ],
        "summary": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_credentials_generate",
        "description": "POST_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_credentials_generate",
        "operationId": "generateDynamicCredentials",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateCredentialsCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateCredentialsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/projects/{projectRef}/environments/{envSlug}/providers/{providerSlug}/credentials/roles": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Projects.Environments.DynamicCredentials.ListCredentialRoles"
        ],
        "summary": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_credentials_roles",
        "description": "GET_api_v1_projects_projectRef_environments_envSlug_providers_providerSlug_credentials_roles",
        "operationId": "listCredentialRoles",
        "parameters": [
          {
            "name": "projectRef",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "envSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "providerSlug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/pki/logs": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Pki.ListPkiLogs"
        ],
        "summary": "GET_api_v1_pki_logs",
        "description": "GET_api_v1_pki_logs",
        "operationId": "listPkiLogs",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "size",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "environmentId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectSlug",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "action",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "roleName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "actorType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "from",
            "in": "query",
            "schema": {
              "type": [
                "null",
                "string"
              ],
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "schema": {
              "type": [
                "null",
                "string"
              ],
              "format": "date-time"
            }
          },
          {
            "name": "apiKeyId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PkiLogPage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/notifications": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Notifications.CreateNotificationChannel"
        ],
        "summary": "POST_api_v1_notifications",
        "description": "POST_api_v1_notifications",
        "operationId": "createNotificationChannel",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNotificationChannelRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationChannelOperationResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationChannelOperationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/notifications/{id}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Notifications.DeleteNotificationChannel"
        ],
        "summary": "DELETE_api_v1_notifications_id",
        "description": "DELETE_api_v1_notifications_id",
        "operationId": "deleteNotificationChannel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/NotificationChannelId"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationChannelOperationResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Notifications.GetNotificationChannel"
        ],
        "summary": "GET_api_v1_notifications_id",
        "description": "GET_api_v1_notifications_id",
        "operationId": "getNotificationChannel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/environments/{id}/notifications": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Notifications.ListEnvironmentNotifications"
        ],
        "summary": "GET_api_v1_environments_id_notifications",
        "description": "GET_api_v1_environments_id_notifications",
        "operationId": "listEnvironmentNotifications",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/projects/{id}/notifications": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Notifications.ListProjectNotifications"
        ],
        "summary": "GET_api_v1_projects_id_notifications",
        "description": "GET_api_v1_projects_id_notifications",
        "operationId": "listProjectNotifications",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/admin/notifications": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Notifications.ListTenantNotifications"
        ],
        "summary": "GET_api_v1_admin_notifications",
        "description": "GET_api_v1_admin_notifications",
        "operationId": "listTenantNotifications",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/notifications/{id}/test": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Notifications.TestNotificationChannel"
        ],
        "summary": "POST_api_v1_notifications_id_test",
        "description": "POST_api_v1_notifications_id_test",
        "operationId": "testNotificationChannel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/notifications/{id}/toggle": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Notifications.ToggleNotificationChannel"
        ],
        "summary": "POST_api_v1_notifications_id_toggle",
        "description": "POST_api_v1_notifications_id_toggle",
        "operationId": "toggleNotificationChannel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/NotificationChannelId"
            }
          }
        ],
        "responses": {
          "404": {
            "description": "Not Found",
            "content": {
              "application/problem+json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationChannelOperationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/notifications/{id}/update": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Notifications.UpdateNotificationChannel"
        ],
        "summary": "POST_api_v1_notifications_id_update",
        "description": "POST_api_v1_notifications_id_update",
        "operationId": "updateNotificationChannel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNotificationChannelRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/groups/{id}/members": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Groups.AddUserToGroup"
        ],
        "summary": "POST_api_v1_groups_id_members",
        "description": "POST_api_v1_groups_id_members",
        "operationId": "addUserToGroup",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/GroupId"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddUserToGroupRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupOperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Groups.GetGroupMembers"
        ],
        "summary": "GET_api_v1_groups_id_members",
        "description": "GET_api_v1_groups_id_members",
        "operationId": "getGroupMembers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GroupMemberResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/groups": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Groups.CreateGroup"
        ],
        "summary": "POST_api_v1_groups",
        "description": "POST_api_v1_groups",
        "operationId": "createGroup",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupOperationResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupOperationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Groups.ListGroups"
        ],
        "summary": "GET_api_v1_groups",
        "description": "GET_api_v1_groups",
        "operationId": "listGroups",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "size",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedResponseOfGroupResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/groups/{id}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Groups.DeleteGroup"
        ],
        "summary": "DELETE_api_v1_groups_id",
        "description": "DELETE_api_v1_groups_id",
        "operationId": "deleteGroup",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/GroupId"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupOperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.Groups.GetGroup"
        ],
        "summary": "GET_api_v1_groups_id",
        "description": "GET_api_v1_groups_id",
        "operationId": "getGroupById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "BellaBaxter.Features.Groups.UpdateGroup"
        ],
        "summary": "PUT_api_v1_groups_id",
        "description": "PUT_api_v1_groups_id",
        "operationId": "updateGroup",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/GroupId"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGroupCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupOperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/groups/{id}/members/{userId}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Groups.RemoveUserFromGroup"
        ],
        "summary": "DELETE_api_v1_groups_id_members_userId",
        "description": "DELETE_api_v1_groups_id_members_userId",
        "operationId": "removeUserFromGroup",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/GroupId"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupOperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/events/stream": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Events.GetSseStream"
        ],
        "summary": "GET_api_v1_events_stream",
        "description": "GET_api_v1_events_stream",
        "operationId": "getSseStream",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/dashboard": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Dashboard.GetDashboard"
        ],
        "summary": "GET_api_v1_dashboard",
        "description": "GET_api_v1_dashboard",
        "operationId": "getDashboard",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DashboardResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/billing/portal": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Billing.CreateBillingPortalSession"
        ],
        "summary": "POST_api_v1_billing_portal",
        "description": "POST_api_v1_billing_portal",
        "operationId": "createBillingPortalSession",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BillingPortalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillingPortalResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/billing/checkout": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Billing.CreateCheckoutSession"
        ],
        "summary": "POST_api_v1_billing_checkout",
        "description": "POST_api_v1_billing_checkout",
        "operationId": "createCheckoutSession",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCheckoutSessionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateCheckoutSessionResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/stripe/webhook": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Billing.StripeWebhookHandler"
        ],
        "summary": "POST_api_v1_stripe_webhook",
        "description": "POST_api_v1_stripe_webhook",
        "operationId": "stripeWebhook",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/auth/token": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Auth.ExchangeToken"
        ],
        "summary": "POST_api_v1_auth_token",
        "description": "POST_api_v1_auth_token",
        "operationId": "exchangeToken",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExchangeTokenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExchangeTokenResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/auth/config": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Auth.GetAuthConfig"
        ],
        "summary": "GET_api_v1_auth_config",
        "description": "GET_api_v1_auth_config",
        "operationId": "getAuthConfig",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthConfigResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/auth/sso-hint": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Auth.GetSsoHint"
        ],
        "summary": "GET_api_v1_auth_sso_hint",
        "description": "GET_api_v1_auth_sso_hint",
        "operationId": "getSsoHint",
        "parameters": [
          {
            "name": "domain",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SsoHintResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/environments/{environmentId}/api-keys": {
      "post": {
        "tags": [
          "BellaBaxter.Features.ApiKeys.CreateApiKey"
        ],
        "summary": "POST_api_v1_environments_environmentId_api_keys",
        "description": "POST_api_v1_environments_environmentId_api_keys",
        "operationId": "createApiKey",
        "parameters": [
          {
            "name": "environmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateApiKeyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatedApiKeyResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatedApiKeyResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.ApiKeys.GetEnvironmentApiKeys"
        ],
        "summary": "GET_api_v1_environments_environmentId_api_keys",
        "description": "GET_api_v1_environments_environmentId_api_keys",
        "operationId": "getApiKeysByEnvironment",
        "parameters": [
          {
            "name": "environmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "isScoped",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ApiKeyResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "read"
        }
      }
    },
    "/api/v1/me/api-keys": {
      "post": {
        "tags": [
          "BellaBaxter.Features.ApiKeys.CreatePersonalApiKey"
        ],
        "summary": "POST_api_v1_me_api_keys",
        "description": "POST_api_v1_me_api_keys",
        "operationId": "createPersonalApiKey",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePersonalApiKeyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatedApiKeyResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.ApiKeys.GetPersonalApiKeys"
        ],
        "summary": "GET_api_v1_me_api_keys",
        "description": "GET_api_v1_me_api_keys",
        "operationId": "getPersonalApiKeys",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ApiKeyResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/api-keys": {
      "post": {
        "tags": [
          "BellaBaxter.Features.ApiKeys.CreateTenantAdminApiKey"
        ],
        "summary": "POST_api_v1_api_keys",
        "description": "POST_api_v1_api_keys",
        "operationId": "createTenantAdminApiKey",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateApiKeyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatedApiKeyResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatedApiKeyResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/api-keys/{id}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.ApiKeys.DeleteApiKey"
        ],
        "summary": "DELETE_api_v1_api_keys_id",
        "description": "DELETE_api_v1_api_keys_id",
        "operationId": "deleteApiKey",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "BellaBaxter.Features.ApiKeys.GetApiKeyById"
        ],
        "summary": "GET_api_v1_api_keys_id",
        "description": "GET_api_v1_api_keys_id",
        "operationId": "getApiKeyById",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "BellaBaxter.Features.ApiKeys.UpdateApiKey"
        ],
        "summary": "PUT_api_v1_api_keys_id",
        "description": "PUT_api_v1_api_keys_id",
        "operationId": "updateApiKey",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ApiKeyId"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateApiKeyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiKeyOperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/me/api-keys/{id}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.ApiKeys.DeletePersonalApiKey"
        ],
        "summary": "DELETE_api_v1_me_api_keys_id",
        "description": "DELETE_api_v1_me_api_keys_id",
        "operationId": "deletePersonalApiKey",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/keys/me": {
      "get": {
        "tags": [
          "BellaBaxter.Features.ApiKeys.GetKeyContext"
        ],
        "summary": "GET_api_v1_keys_me",
        "description": "GET_api_v1_keys_me",
        "operationId": "getKeyContext",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyContextResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/environments/{environmentId}/tokens/issue": {
      "post": {
        "tags": [
          "BellaBaxter.Features.ApiKeys.IssueEnvironmentToken"
        ],
        "summary": "POST_api_v1_environments_environmentId_tokens_issue",
        "description": "POST_api_v1_environments_environmentId_tokens_issue",
        "operationId": "issueEnvironmentToken",
        "parameters": [
          {
            "name": "environmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueEnvironmentTokenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatedApiKeyResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatedApiKeyResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        },
        "x-bella-permission": {
          "resource": "environment",
          "level": "manage"
        }
      }
    },
    "/api/v1/api-keys/{id}/toggle-status": {
      "patch": {
        "tags": [
          "BellaBaxter.Features.ApiKeys.ToggleApiKeyStatus"
        ],
        "summary": "PATCH_api_v1_api_keys_id_toggle_status",
        "description": "PATCH_api_v1_api_keys_id_toggle_status",
        "operationId": "toggleApiKeyStatus",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ApiKeyId"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateApiKeyStatusRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiKeyOperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/admin/change-password": {
      "put": {
        "tags": [
          "BellaBaxter.Features.Admin.ChangeAdminPassword"
        ],
        "summary": "PUT_api_v1_admin_change_password",
        "description": "PUT_api_v1_admin_change_password",
        "operationId": "changePassword",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChangePasswordResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/admin/users": {
      "post": {
        "tags": [
          "BellaBaxter.Features.Admin.CreateAdminUser"
        ],
        "summary": "POST_api_v1_admin_users",
        "description": "POST_api_v1_admin_users",
        "operationId": "createUser",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateUserResponse"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateUserResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/admin/users/{id}": {
      "delete": {
        "tags": [
          "BellaBaxter.Features.Admin.DeactivateUser"
        ],
        "summary": "DELETE_api_v1_admin_users_id",
        "description": "DELETE_api_v1_admin_users_id",
        "operationId": "deactivateUser",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/admin/roles": {
      "get": {
        "tags": [
          "BellaBaxter.Features.Admin.GetProjectRoles"
        ],
        "summary": "GET_api_v1_admin_roles",
        "description": "GET_api_v1_admin_roles",
        "operationId": "getProjectRoles",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleCatalogResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    },
    "/api/v1/access-logs": {
      "get": {
        "tags": [
          "BellaBaxter.Features.AccessLog.ListAccessLogs"
        ],
        "summary": "GET_api_v1_access_logs",
        "description": "GET_api_v1_access_logs",
        "operationId": "listAccessLogs",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "size",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "environmentId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "projectSlug",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "action",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "actorType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "from",
            "in": "query",
            "schema": {
              "type": [
                "null",
                "string"
              ],
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "schema": {
              "type": [
                "null",
                "string"
              ],
              "format": "date-time"
            }
          },
          {
            "name": "apiKeyId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessLogPage"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": { }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AcceptInviteResponse": {
        "required": [
          "tenantId",
          "tenantName",
          "tenantSlug",
          "role",
          "requiresTokenRefresh"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "tenantName": {
            "type": "string"
          },
          "tenantSlug": {
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/TenantInviteRole"
          },
          "requiresTokenRefresh": {
            "type": "boolean"
          }
        }
      },
      "AccessLogEntry": {
        "required": [
          "id",
          "projectId",
          "projectSlug",
          "environmentId",
          "environmentSlug",
          "providerId",
          "action",
          "actorType",
          "userId",
          "userName",
          "apiKeyId",
          "apiKeyName",
          "appClient",
          "ipAddress",
          "userAgent",
          "country",
          "city",
          "secretKey",
          "timestamp"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "projectSlug": {
            "type": "string"
          },
          "environmentId": {
            "type": "string",
            "format": "uuid"
          },
          "environmentSlug": {
            "type": "string"
          },
          "providerId": {
            "type": "string",
            "format": "uuid"
          },
          "action": {
            "type": "string"
          },
          "actorType": {
            "type": "string"
          },
          "userId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "userName": {
            "type": [
              "null",
              "string"
            ]
          },
          "apiKeyId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "apiKeyName": {
            "type": [
              "null",
              "string"
            ]
          },
          "appClient": {
            "type": [
              "null",
              "string"
            ]
          },
          "ipAddress": {
            "type": "string"
          },
          "userAgent": {
            "type": [
              "null",
              "string"
            ]
          },
          "country": {
            "type": [
              "null",
              "string"
            ]
          },
          "city": {
            "type": [
              "null",
              "string"
            ]
          },
          "secretKey": {
            "type": [
              "null",
              "string"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "AccessLogPage": {
        "required": [
          "items",
          "totalCount",
          "page",
          "size"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessLogEntry"
            }
          },
          "totalCount": {
            "type": "integer",
            "format": "int64"
          },
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "size": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "ActivityByDay": {
        "required": [
          "date",
          "count"
        ],
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "AddUserToGroupRequest": {
        "required": [
          "userId"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string"
          }
        }
      },
      "AllEnvironmentSecretsResponse": {
        "required": [
          "environmentSlug",
          "environmentName",
          "secrets",
          "version",
          "lastModified"
        ],
        "type": "object",
        "properties": {
          "environmentSlug": {
            "type": "string"
          },
          "environmentName": {
            "type": "string"
          },
          "secrets": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "lastModified": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ApiKeyId": { },
      "ApiKeyOperationResponse": {
        "required": [
          "success",
          "message"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "apiKey": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ApiKeyResponse"
              }
            ]
          }
        }
      },
      "ApiKeyResponse": {
        "required": [
          "id",
          "environmentId",
          "projectId",
          "role",
          "clientName",
          "keyPrefix",
          "expiresAt",
          "lastUsedAt",
          "usageCount",
          "isActive",
          "isExpired",
          "isValid",
          "description",
          "createdAt",
          "revokedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "environmentId": {
            "type": [
              "null",
              "string"
            ]
          },
          "projectId": {
            "type": [
              "null",
              "string"
            ]
          },
          "role": {
            "type": "string"
          },
          "clientName": {
            "type": "string"
          },
          "keyPrefix": {
            "type": "string"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "lastUsedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "usageCount": {
            "type": "integer",
            "format": "int64"
          },
          "isActive": {
            "type": "boolean"
          },
          "isExpired": {
            "type": "boolean"
          },
          "isValid": {
            "type": "boolean"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "revokedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "allowedScopes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "AssignGroupToEnvironmentRequest": {
        "required": [
          "groupId",
          "role"
        ],
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        }
      },
      "AssignGroupToProjectRequest": {
        "required": [
          "groupId",
          "role"
        ],
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        }
      },
      "AssignProvidersCommand": {
        "required": [
          "providerIds"
        ],
        "type": "object",
        "properties": {
          "providerIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          }
        }
      },
      "AssignUsersRequest": {
        "required": [
          "userIds"
        ],
        "type": "object",
        "properties": {
          "userIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "role": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "AssignUsersToEnvironmentRequest": {
        "required": [
          "assignments"
        ],
        "type": "object",
        "properties": {
          "assignments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserRoleAssignment"
            }
          }
        }
      },
      "AuthConfigResponse": {
        "required": [
          "keycloakUrl",
          "realm",
          "cliClientId",
          "webAppClientId",
          "issuer"
        ],
        "type": "object",
        "properties": {
          "keycloakUrl": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "cliClientId": {
            "type": "string"
          },
          "webAppClientId": {
            "type": "string"
          },
          "issuer": {
            "type": "string"
          }
        }
      },
      "AuthDiagnostics": {
        "required": [
          "hasAuthorizationHeader",
          "isAuthenticated",
          "tokenIssuer",
          "tokenAudience",
          "tokenClaims",
          "configuredKeycloakUrl",
          "expectedIssuer"
        ],
        "type": "object",
        "properties": {
          "hasAuthorizationHeader": {
            "type": "boolean"
          },
          "isAuthenticated": {
            "type": "boolean"
          },
          "tokenIssuer": {
            "type": [
              "null",
              "string"
            ]
          },
          "tokenAudience": {
            "type": [
              "null",
              "string"
            ]
          },
          "tokenClaims": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "configuredKeycloakUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "expectedIssuer": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "AwsRegionResponse": {
        "required": [
          "regions"
        ],
        "type": "object",
        "properties": {
          "regions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RegionInfo"
            }
          }
        }
      },
      "BellaEventData": {
        "required": [
          "resourceId"
        ],
        "type": "object",
        "properties": {
          "resourceId": {
            "type": "string",
            "description": "ID of the changed resource (secret key, environment ID, etc.)."
          },
          "projectId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Project ID. Null for tenant-level events.",
            "format": "uuid"
          },
          "environmentId": {
            "type": [
              "null",
              "string"
            ],
            "description": "Environment ID. Null for project-level events.",
            "format": "uuid"
          },
          "projectSlug": {
            "type": [
              "null",
              "string"
            ],
            "description": "Project slug for human-readable reference."
          },
          "environmentSlug": {
            "type": [
              "null",
              "string"
            ],
            "description": "Environment slug for human-readable reference."
          },
          "key": {
            "type": [
              "null",
              "string"
            ],
            "description": "Secret key name. Only set for secret.* events."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Additional event-specific metadata."
          }
        },
        "description": "The data payload inside a BellaWebhookPayload."
      },
      "BellaWebhookPayload": {
        "required": [
          "id",
          "type",
          "tenantId",
          "timestamp",
          "data"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique delivery ID. Use for idempotency (format: whevt_xxx)."
          },
          "type": {
            "type": "string",
            "description": "Event type (e.g. \"secret.created\", \"environment.deleted\")."
          },
          "tenantId": {
            "type": "string",
            "description": "The tenant that owns the resource.",
            "format": "uuid"
          },
          "timestamp": {
            "type": "string",
            "description": "When the event occurred (UTC ISO 8601).",
            "format": "date-time"
          },
          "data": {
            "$ref": "#/components/schemas/BellaEventData"
          }
        },
        "description": "The JSON payload delivered to your webhook endpoint by Bella Baxter. Validate with X-Bella-Signature header using HMAC-SHA256."
      },
      "BillingPortalRequest": {
        "required": [
          "returnUrl"
        ],
        "type": "object",
        "properties": {
          "returnUrl": {
            "type": "string"
          }
        }
      },
      "BillingPortalResponse": {
        "required": [
          "url"
        ],
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          }
        }
      },
      "BillingStatementResponse": {
        "required": [
          "id",
          "month",
          "plan",
          "freeQuota",
          "overageRate",
          "requestsUsed",
          "overageRequests",
          "overageCost",
          "isFinalized",
          "finalizedAt",
          "lastUpdatedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "month": {
            "type": "string"
          },
          "plan": {
            "type": "string"
          },
          "freeQuota": {
            "type": "integer",
            "format": "int32"
          },
          "overageRate": {
            "type": "number",
            "format": "double"
          },
          "requestsUsed": {
            "type": "integer",
            "format": "int64"
          },
          "overageRequests": {
            "type": "integer",
            "format": "int64"
          },
          "overageCost": {
            "type": "number",
            "format": "double"
          },
          "isFinalized": {
            "type": "boolean"
          },
          "finalizedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "lastUpdatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ChangePasswordRequest": {
        "required": [
          "currentPassword",
          "newPassword"
        ],
        "type": "object",
        "properties": {
          "currentPassword": {
            "type": "string"
          },
          "newPassword": {
            "type": "string"
          }
        }
      },
      "ChangePasswordResponse": {
        "required": [
          "success",
          "message"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "ChangeRoleCommand": {
        "required": [
          "role"
        ],
        "type": "object",
        "properties": {
          "role": {
            "$ref": "#/components/schemas/TenantRole"
          }
        }
      },
      "ChangeTenantPlanRequest": {
        "required": [
          "plan"
        ],
        "type": "object",
        "properties": {
          "plan": {
            "type": "string"
          }
        }
      },
      "ChangeTenantPlanResponse": {
        "required": [
          "tenantId",
          "plan",
          "message"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "plan": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "ClaimOperator": {
        "enum": [
          "Equals",
          "StartsWith",
          "Contains"
        ]
      },
      "ClaimRule": {
        "required": [
          "claim",
          "operator",
          "value"
        ],
        "type": "object",
        "properties": {
          "claim": {
            "type": "string"
          },
          "operator": {
            "$ref": "#/components/schemas/ClaimOperator"
          },
          "value": {
            "type": "string"
          }
        }
      },
      "Command": {
        "required": [
          "name",
          "slug"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "domain": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ConfigureOidcSsoRequest": {
        "required": [
          "discoveryUrl",
          "clientId",
          "clientSecret",
          "domains"
        ],
        "type": "object",
        "properties": {
          "discoveryUrl": {
            "type": "string"
          },
          "clientId": {
            "type": "string"
          },
          "clientSecret": {
            "type": "string"
          },
          "domains": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ConfigureSamlSsoRequest": {
        "required": [
          "metadataUrl",
          "domains"
        ],
        "type": "object",
        "properties": {
          "metadataUrl": {
            "type": "string"
          },
          "domains": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CopyEnvironmentCommand": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "copyProviders": {
            "type": "boolean",
            "default": true
          },
          "copySecretKeys": {
            "type": "boolean",
            "default": true
          }
        }
      },
      "CopyEnvironmentResponse": {
        "required": [
          "environment",
          "providersAssigned",
          "secretKeysCreated",
          "message"
        ],
        "type": "object",
        "properties": {
          "environment": {
            "$ref": "#/components/schemas/EnvironmentResponse"
          },
          "providersAssigned": {
            "type": "integer",
            "format": "int32"
          },
          "secretKeysCreated": {
            "type": "integer",
            "format": "int32"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "CreateApiKeyRequest": {
        "required": [
          "clientName",
          "description",
          "expiresInDays"
        ],
        "type": "object",
        "properties": {
          "clientName": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "expiresInDays": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "role": {
            "type": [
              "null",
              "string"
            ]
          },
          "publicKey": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateCheckoutSessionRequest": {
        "required": [
          "successUrl",
          "cancelUrl"
        ],
        "type": "object",
        "properties": {
          "successUrl": {
            "type": "string"
          },
          "cancelUrl": {
            "type": "string"
          }
        }
      },
      "CreateCheckoutSessionResponse": {
        "required": [
          "url"
        ],
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          }
        }
      },
      "CreatedApiKeyResponse": {
        "required": [
          "success",
          "message",
          "apiKey",
          "keyPrefix",
          "id",
          "expiresAt"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "apiKey": {
            "type": "string"
          },
          "keyPrefix": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "CreatedWebhookResponse": {
        "required": [
          "success",
          "message",
          "signingSecret",
          "keyPrefix",
          "id",
          "webhook"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "signingSecret": {
            "type": "string"
          },
          "keyPrefix": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "webhook": {
            "$ref": "#/components/schemas/WebhookResponse"
          }
        }
      },
      "CreateEnvironmentCommand": {
        "required": [
          "name",
          "description",
          "slug"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "slug": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateGroupCommand": {
        "required": [
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateInviteCommand": {
        "type": "object",
        "properties": {
          "role": {
            "$ref": "#/components/schemas/TenantInviteRole"
          },
          "expiresInDays": {
            "type": "integer",
            "format": "int32",
            "default": 7
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateNotificationChannelRequest": {
        "required": [
          "name",
          "channelType",
          "configuration",
          "eventTypes",
          "projectId",
          "environmentId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "channelType": {
            "type": "string"
          },
          "configuration": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "eventTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "projectId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "environmentId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "CreateOwnTenantCommand": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateOwnTenantResponse": {
        "required": [
          "tenantId",
          "tenantName",
          "tenantSlug",
          "requiresTokenRefresh"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "tenantName": {
            "type": "string"
          },
          "tenantSlug": {
            "type": "string"
          },
          "requiresTokenRefresh": {
            "type": "boolean"
          }
        }
      },
      "CreatePersonalApiKeyRequest": {
        "required": [
          "clientName",
          "description",
          "expiresInDays"
        ],
        "type": "object",
        "properties": {
          "clientName": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "expiresInDays": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          }
        }
      },
      "CreateProjectCommand": {
        "required": [
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "tags": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CreateProviderCommand": {
        "required": [
          "name",
          "type",
          "description",
          "configuration"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "configuration": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "CreateSecretRequest": {
        "required": [
          "key",
          "value",
          "description"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "type": {
            "type": [
              "null",
              "string"
            ]
          },
          "ignoreInScan": {
            "type": "boolean",
            "default": false
          },
          "tags": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "CreateSecretResponse": {
        "required": [
          "success",
          "message",
          "key"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "key": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateShareCommand": {
        "required": [
          "label",
          "ciphertext",
          "iv",
          "expiresAt"
        ],
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "ciphertext": {
            "type": "string"
          },
          "iv": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "maxViews": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "passwordHash": {
            "type": [
              "null",
              "string"
            ]
          },
          "passwordSalt": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateShareResponse": {
        "required": [
          "shareId",
          "label",
          "expiresAt",
          "maxViews",
          "hasPassword"
        ],
        "type": "object",
        "properties": {
          "shareId": {
            "type": "string",
            "format": "uuid"
          },
          "label": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "maxViews": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "hasPassword": {
            "type": "boolean"
          }
        }
      },
      "CreateTenantResponse": {
        "required": [
          "tenantId",
          "name",
          "slug",
          "domain"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "domain": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateTrustDomainCommand": {
        "required": [
          "name",
          "description",
          "oidcIssuerUrl",
          "oidcJwksUri",
          "claimRules"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "oidcIssuerUrl": {
            "type": "string"
          },
          "oidcJwksUri": {
            "type": [
              "null",
              "string"
            ]
          },
          "claimRules": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ClaimRule"
            }
          },
          "issuedTokenTtlMinutes": {
            "type": "integer",
            "format": "int32",
            "default": 15
          },
          "grantedRole": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateUserRequest": {
        "required": [
          "username",
          "email",
          "password",
          "name",
          "roles"
        ],
        "type": "object",
        "properties": {
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "roles": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CreateUserResponse": {
        "required": [
          "success",
          "message"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "user": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UserResponse"
              }
            ]
          }
        }
      },
      "CreateWebhookRequest": {
        "required": [
          "name",
          "targetUrl",
          "eventTypes"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "targetUrl": {
            "type": "string"
          },
          "eventTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "projectId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "environmentId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "CurrentUserResponse": {
        "required": [
          "id",
          "username",
          "nombre",
          "email",
          "createdAt",
          "updatedAt",
          "isAdmin",
          "tokenRemainingMinutes"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "nombre": {
            "type": [
              "null",
              "string"
            ]
          },
          "email": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "isAdmin": {
            "type": "boolean"
          },
          "tokenRemainingMinutes": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "DashboardCountPair": {
        "required": [
          "total",
          "active"
        ],
        "type": "object",
        "properties": {
          "total": {
            "type": "integer",
            "format": "int32"
          },
          "active": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "DashboardResponse": {
        "required": [
          "projects",
          "environments",
          "providers",
          "apiKeys",
          "secrets",
          "users",
          "recentActivity",
          "activityByDay"
        ],
        "type": "object",
        "properties": {
          "projects": {
            "$ref": "#/components/schemas/DashboardCountPair"
          },
          "environments": {
            "$ref": "#/components/schemas/DashboardCountPair"
          },
          "providers": {
            "type": "integer",
            "format": "int32"
          },
          "apiKeys": {
            "$ref": "#/components/schemas/DashboardCountPair"
          },
          "secrets": {
            "type": "integer",
            "format": "int32"
          },
          "users": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "recentActivity": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessLogEntry"
            }
          },
          "activityByDay": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ActivityByDay"
            }
          }
        }
      },
      "DriftItem": {
        "required": [
          "key",
          "presentIn",
          "missingIn",
          "envSpecific",
          "isGlobal",
          "inheritedIn"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "presentIn": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "missingIn": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "envSpecific": {
            "type": "boolean"
          },
          "isGlobal": {
            "type": "boolean"
          },
          "inheritedIn": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "DriftResponse": {
        "required": [
          "environments",
          "secrets",
          "summary"
        ],
        "type": "object",
        "properties": {
          "environments": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "secrets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DriftItem"
            }
          },
          "summary": {
            "$ref": "#/components/schemas/DriftSummary"
          }
        }
      },
      "DriftSummary": {
        "required": [
          "totalKeys",
          "driftedKeys",
          "envSpecificKeys",
          "globalKeys"
        ],
        "type": "object",
        "properties": {
          "totalKeys": {
            "type": "integer",
            "format": "int32"
          },
          "driftedKeys": {
            "type": "integer",
            "format": "int32"
          },
          "envSpecificKeys": {
            "type": "integer",
            "format": "int32"
          },
          "globalKeys": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "E2EEncryptedPayload": {
        "required": [
          "encrypted",
          "algorithm",
          "serverPublicKey",
          "nonce",
          "tag",
          "ciphertext"
        ],
        "type": "object",
        "properties": {
          "encrypted": {
            "type": "boolean"
          },
          "algorithm": {
            "type": "string"
          },
          "serverPublicKey": {
            "type": "string"
          },
          "nonce": {
            "type": "string"
          },
          "tag": {
            "type": "string"
          },
          "ciphertext": {
            "type": "string"
          }
        }
      },
      "EmergencyKit": {
        "required": [
          "tenantId",
          "tenantSlug",
          "generatedAt",
          "masterKeyFingerprint",
          "recoveryKeyFingerprint",
          "instructions"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "tenantSlug": {
            "type": "string"
          },
          "generatedAt": {
            "type": "string"
          },
          "masterKeyFingerprint": {
            "type": "string"
          },
          "recoveryKeyFingerprint": {
            "type": "string"
          },
          "instructions": {
            "$ref": "#/components/schemas/EmergencyKitInstructions"
          }
        }
      },
      "EmergencyKitInstructions": {
        "required": [
          "step1",
          "step2",
          "step3",
          "warning"
        ],
        "type": "object",
        "properties": {
          "step1": {
            "type": "string"
          },
          "step2": {
            "type": "string"
          },
          "step3": {
            "type": "string"
          },
          "warning": {
            "type": "string"
          }
        }
      },
      "EnvironmentDriftItem": {
        "required": [
          "key",
          "presentHere",
          "presentInSiblings",
          "missingInSiblings",
          "envSpecific",
          "isGlobal",
          "inheritedIn"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "presentHere": {
            "type": "boolean"
          },
          "presentInSiblings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "missingInSiblings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "envSpecific": {
            "type": "boolean"
          },
          "isGlobal": {
            "type": "boolean"
          },
          "inheritedIn": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "EnvironmentDriftResponse": {
        "required": [
          "thisEnv",
          "siblings",
          "secrets",
          "summary"
        ],
        "type": "object",
        "properties": {
          "thisEnv": {
            "type": "string"
          },
          "siblings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "secrets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EnvironmentDriftItem"
            }
          },
          "summary": {
            "$ref": "#/components/schemas/EnvironmentDriftSummary"
          }
        }
      },
      "EnvironmentDriftSummary": {
        "required": [
          "totalKeys",
          "missingHere",
          "extraHere",
          "envSpecificKeys",
          "globalKeys"
        ],
        "type": "object",
        "properties": {
          "totalKeys": {
            "type": "integer",
            "format": "int32"
          },
          "missingHere": {
            "type": "integer",
            "format": "int32"
          },
          "extraHere": {
            "type": "integer",
            "format": "int32"
          },
          "envSpecificKeys": {
            "type": "integer",
            "format": "int32"
          },
          "globalKeys": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "EnvironmentExportInfo": {
        "required": [
          "name",
          "slug",
          "description",
          "providerSlugs"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "providerSlugs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "EnvironmentOperationResponse": {
        "required": [
          "success",
          "message",
          "timestamp"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "environment": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/EnvironmentResponse"
              }
            ]
          }
        }
      },
      "EnvironmentProviderResponse": {
        "required": [
          "id",
          "providerId",
          "providerSlug",
          "providerName",
          "providerDescription",
          "providerType",
          "region",
          "assignedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "providerId": {
            "type": "string"
          },
          "providerSlug": {
            "type": "string"
          },
          "providerName": {
            "type": "string"
          },
          "providerDescription": {
            "type": [
              "null",
              "string"
            ]
          },
          "providerType": {
            "type": "string"
          },
          "region": {
            "type": [
              "null",
              "string"
            ]
          },
          "assignedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "EnvironmentResponse": {
        "required": [
          "id",
          "slug",
          "name",
          "description",
          "projectId",
          "projectName",
          "creatorId",
          "creatorUsername",
          "memberCount",
          "providerCount",
          "secretCount",
          "createdAt",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "projectId": {
            "type": "string"
          },
          "projectName": {
            "type": [
              "null",
              "string"
            ]
          },
          "creatorId": {
            "type": [
              "null",
              "string"
            ]
          },
          "creatorUsername": {
            "type": [
              "null",
              "string"
            ]
          },
          "memberCount": {
            "type": "integer",
            "format": "int32"
          },
          "providerCount": {
            "type": "integer",
            "format": "int32"
          },
          "secretCount": {
            "type": "integer",
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "currentUserRole": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "type": "string",
            "default": "Active"
          }
        }
      },
      "EnvironmentRiskEntry": {
        "required": [
          "environmentId",
          "environmentSlug",
          "projectId",
          "projectSlug",
          "overallRisk",
          "critical",
          "high",
          "medium",
          "low",
          "scannedAt"
        ],
        "type": "object",
        "properties": {
          "environmentId": {
            "type": "string",
            "format": "uuid"
          },
          "environmentSlug": {
            "type": "string"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "projectSlug": {
            "type": "string"
          },
          "overallRisk": {
            "type": "string"
          },
          "critical": {
            "type": "integer",
            "format": "int32"
          },
          "high": {
            "type": "integer",
            "format": "int32"
          },
          "medium": {
            "type": "integer",
            "format": "int32"
          },
          "low": {
            "type": "integer",
            "format": "int32"
          },
          "scannedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "EnvironmentSecretsVersionResponse": {
        "required": [
          "environmentSlug",
          "version",
          "lastModified"
        ],
        "type": "object",
        "properties": {
          "environmentSlug": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int64"
          },
          "lastModified": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "EnvironmentSecurityReportResponse": {
        "required": [
          "environmentId",
          "environmentSlug",
          "projectId",
          "projectSlug",
          "overallRisk",
          "summary",
          "insights",
          "scannedAt",
          "breachCheckSkipped",
          "notYetScanned",
          "providerFetchFailed"
        ],
        "type": "object",
        "properties": {
          "environmentId": {
            "type": "string",
            "format": "uuid"
          },
          "environmentSlug": {
            "type": "string"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "projectSlug": {
            "type": "string"
          },
          "overallRisk": {
            "type": "string"
          },
          "summary": {
            "$ref": "#/components/schemas/SecurityReportSummary"
          },
          "insights": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SecurityInsightResponse"
            }
          },
          "scannedAt": {
            "type": "string",
            "format": "date-time"
          },
          "breachCheckSkipped": {
            "type": "boolean"
          },
          "notYetScanned": {
            "type": "boolean"
          },
          "providerFetchFailed": {
            "type": "boolean"
          }
        }
      },
      "EnvironmentSecuritySummaryEntry": {
        "required": [
          "environmentId",
          "environmentSlug",
          "overallRisk",
          "critical",
          "high",
          "medium",
          "low",
          "totalSecretsScanned",
          "providerFetchFailed",
          "scannedAt"
        ],
        "type": "object",
        "properties": {
          "environmentId": {
            "type": "string",
            "format": "uuid"
          },
          "environmentSlug": {
            "type": "string"
          },
          "overallRisk": {
            "type": "string"
          },
          "critical": {
            "type": "integer",
            "format": "int32"
          },
          "high": {
            "type": "integer",
            "format": "int32"
          },
          "medium": {
            "type": "integer",
            "format": "int32"
          },
          "low": {
            "type": "integer",
            "format": "int32"
          },
          "totalSecretsScanned": {
            "type": "integer",
            "format": "int32"
          },
          "providerFetchFailed": {
            "type": "boolean"
          },
          "scannedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "EnvironmentUserResponse": {
        "required": [
          "userId",
          "username",
          "email",
          "fullName",
          "role",
          "assignedAt"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "fullName": {
            "type": [
              "null",
              "string"
            ]
          },
          "role": {
            "type": "string"
          },
          "assignedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ExchangeOidcTokenBySlugCommand": {
        "required": [
          "oidcToken"
        ],
        "type": "object",
        "properties": {
          "oidcToken": {
            "type": "string"
          },
          "tenantSlug": {
            "type": [
              "null",
              "string"
            ]
          },
          "projectSlug": {
            "type": [
              "null",
              "string"
            ]
          },
          "environmentSlug": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ExchangeOidcTokenCommand": {
        "required": [
          "oidcToken"
        ],
        "type": "object",
        "properties": {
          "oidcToken": {
            "type": "string"
          }
        }
      },
      "ExchangeTokenRequest": {
        "required": [
          "clientId",
          "clientSecret"
        ],
        "type": "object",
        "properties": {
          "clientId": {
            "type": "string"
          },
          "clientSecret": {
            "type": "string"
          }
        }
      },
      "ExchangeTokenResponse": {
        "required": [
          "accessToken",
          "tokenType",
          "expiresIn"
        ],
        "type": "object",
        "properties": {
          "accessToken": {
            "type": "string"
          },
          "tokenType": {
            "type": "string"
          },
          "expiresIn": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "GenerateCredentialsCommand": {
        "required": [
          "role",
          "ttlSeconds"
        ],
        "type": "object",
        "properties": {
          "role": {
            "type": [
              "null",
              "string"
            ]
          },
          "ttlSeconds": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          }
        }
      },
      "GenerateCredentialsResponse": {
        "required": [
          "username",
          "password",
          "expiresAt",
          "leaseDurationSeconds",
          "leaseId",
          "connectionUrl"
        ],
        "type": "object",
        "properties": {
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "leaseDurationSeconds": {
            "type": "integer",
            "format": "int32"
          },
          "leaseId": {
            "type": "string"
          },
          "connectionUrl": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "GenerateTotpKeyRequest": {
        "required": [
          "name",
          "issuer",
          "accountName"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "issuer": {
            "type": "string"
          },
          "accountName": {
            "type": "string"
          }
        }
      },
      "GetProjectResponse": {
        "required": [
          "id",
          "name",
          "slug",
          "description",
          "ownerId",
          "ownerName",
          "status",
          "members",
          "createdAt",
          "updatedAt",
          "deletedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "ownerId": {
            "type": "string",
            "format": "uuid"
          },
          "ownerName": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "members": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "globalSecretProviderId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "currentUserRole": {
            "type": [
              "null",
              "string"
            ]
          },
          "tags": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "GetTenantResponse": {
        "required": [
          "tenantId",
          "name",
          "slug",
          "domain",
          "status",
          "createdAt",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "domain": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/TenantStatus"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "GlobalSecretItem": {
        "required": [
          "key",
          "value",
          "description",
          "type",
          "tags",
          "createdAt",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "type": {
            "type": [
              "null",
              "string"
            ]
          },
          "tags": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "ignoreInScan": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "GroupAssignmentResponse": {
        "required": [
          "groupId",
          "groupName",
          "role",
          "memberCount"
        ],
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string"
          },
          "groupName": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "memberCount": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "GroupId": { },
      "GroupMemberResponse": {
        "required": [
          "userId",
          "displayName",
          "email"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string"
          },
          "displayName": {
            "type": [
              "null",
              "string"
            ]
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "GroupOperationResponse": {
        "required": [
          "success",
          "message"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "group": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/GroupResponse"
              }
            ]
          }
        }
      },
      "GroupResponse": {
        "required": [
          "id",
          "name",
          "description",
          "status",
          "memberCount",
          "createdAt",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "type": "string"
          },
          "memberCount": {
            "type": "integer",
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "HandshakeResponse": {
        "required": [
          "userId",
          "tenantId",
          "tenantName",
          "tenantSlug",
          "requiresTokenRefresh"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "tenantName": {
            "type": "string"
          },
          "tenantSlug": {
            "type": "string"
          },
          "requiresTokenRefresh": {
            "type": "boolean"
          },
          "isNewTenant": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "IFormFile": {
        "type": "string",
        "format": "binary"
      },
      "ImportableSecret": {
        "required": [
          "key",
          "description",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "inferredType": {
            "type": "string",
            "default": "String"
          }
        }
      },
      "ImportFailure": {
        "required": [
          "key",
          "reason"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        }
      },
      "ImportPreviewResponse": {
        "required": [
          "secrets"
        ],
        "type": "object",
        "properties": {
          "secrets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImportableSecret"
            }
          }
        }
      },
      "ImportSecretsRequest": {
        "required": [
          "sourceProviderId"
        ],
        "type": "object",
        "properties": {
          "sourceProviderId": {
            "type": "string",
            "format": "uuid"
          },
          "keys": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "overwriteExisting": {
            "type": "boolean",
            "default": true
          },
          "typeOverrides": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "ImportSecretsResponse": {
        "required": [
          "imported",
          "skipped",
          "failed"
        ],
        "type": "object",
        "properties": {
          "imported": {
            "type": "integer",
            "format": "int32"
          },
          "skipped": {
            "type": "integer",
            "format": "int32"
          },
          "failed": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImportFailure"
            }
          }
        }
      },
      "ImportTotpKeyRequest": {
        "required": [
          "name",
          "otpauthUrl"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "otpauthUrl": {
            "type": "string"
          }
        }
      },
      "IntegrationInfoResponse": {
        "required": [
          "azureKeyVaultFunctionPrincipalId",
          "awsLambdaAccountId"
        ],
        "type": "object",
        "properties": {
          "azureKeyVaultFunctionPrincipalId": {
            "type": [
              "null",
              "string"
            ]
          },
          "awsLambdaAccountId": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "InviteListResponse": {
        "required": [
          "token",
          "tenantId",
          "role",
          "createdAt",
          "expiresAt",
          "isRevoked",
          "isExpired",
          "acceptedByUserId",
          "acceptedAt"
        ],
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "role": {
            "$ref": "#/components/schemas/TenantInviteRole"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "isRevoked": {
            "type": "boolean"
          },
          "isExpired": {
            "type": "boolean"
          },
          "acceptedByUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "acceptedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "InvitePreviewResponse": {
        "required": [
          "invitedEmail",
          "tenantName",
          "isValid"
        ],
        "type": "object",
        "properties": {
          "invitedEmail": {
            "type": [
              "null",
              "string"
            ]
          },
          "tenantName": {
            "type": "string"
          },
          "isValid": {
            "type": "boolean"
          }
        }
      },
      "InviteResponse": {
        "required": [
          "token",
          "tenantId",
          "tenantName",
          "role",
          "expiresAt",
          "email"
        ],
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "tenantName": {
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/TenantInviteRole"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "IResult": {
        "type": "object"
      },
      "IssueEnvironmentTokenRequest": {
        "required": [
          "scopes"
        ],
        "type": "object",
        "properties": {
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "ttlMinutes": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "reason": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "KeyContextResponse": {
        "required": [
          "keyId",
          "role",
          "tenantId",
          "tenantSlug",
          "tenantName",
          "projectId",
          "projectSlug",
          "projectName",
          "environmentId",
          "environmentSlug",
          "environmentName"
        ],
        "type": "object",
        "properties": {
          "keyId": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "null",
              "string"
            ]
          },
          "tenantSlug": {
            "type": [
              "null",
              "string"
            ]
          },
          "tenantName": {
            "type": [
              "null",
              "string"
            ]
          },
          "projectId": {
            "type": [
              "null",
              "string"
            ]
          },
          "projectSlug": {
            "type": [
              "null",
              "string"
            ]
          },
          "projectName": {
            "type": [
              "null",
              "string"
            ]
          },
          "environmentId": {
            "type": [
              "null",
              "string"
            ]
          },
          "environmentSlug": {
            "type": [
              "null",
              "string"
            ]
          },
          "environmentName": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "LeasePolicyResponse": {
        "required": [
          "defaultTtlMinutes",
          "maxTtlMinutes",
          "allowRenewal"
        ],
        "type": "object",
        "properties": {
          "defaultTtlMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "maxTtlMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "allowRenewal": {
            "type": "boolean"
          }
        }
      },
      "LeaseResponse": {
        "required": [
          "id",
          "holderId",
          "holderName",
          "status",
          "grantedAt",
          "expiresAt",
          "revokedAt",
          "expiredAt",
          "secretKeysSnapshot",
          "secretCount",
          "revokedBy",
          "revocationReason"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "holderId": {
            "type": "string",
            "format": "uuid"
          },
          "holderName": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "grantedAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "revokedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "expiredAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "secretKeysSnapshot": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "secretCount": {
            "type": "integer",
            "format": "int32"
          },
          "revokedBy": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "revocationReason": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "LinkProviderRequest": {
        "required": [
          "environmentId",
          "keyName"
        ],
        "type": "object",
        "properties": {
          "environmentId": {
            "type": "string",
            "format": "uuid"
          },
          "keyName": {
            "type": "string"
          },
          "autoRotateDays": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          }
        }
      },
      "ListGlobalSecretsResponse": {
        "required": [
          "projectRef",
          "projectSlug",
          "globalSecretProviderId",
          "secrets"
        ],
        "type": "object",
        "properties": {
          "projectRef": {
            "type": "string"
          },
          "projectSlug": {
            "type": "string"
          },
          "globalSecretProviderId": {
            "type": [
              "null",
              "string"
            ]
          },
          "secrets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GlobalSecretItem"
            }
          }
        }
      },
      "ListTenantsResponse": {
        "required": [
          "tenantId",
          "name",
          "slug",
          "domain",
          "status",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "domain": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/TenantStatus"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "MigrateTenantEncryptionResponse": {
        "required": [
          "success",
          "message",
          "projectsProcessed",
          "environmentsProcessed",
          "secretsEncrypted",
          "secretsSkipped",
          "providersEncrypted",
          "webhooksEncrypted",
          "notificationsEncrypted"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "projectsProcessed": {
            "type": "integer",
            "format": "int32"
          },
          "environmentsProcessed": {
            "type": "integer",
            "format": "int32"
          },
          "secretsEncrypted": {
            "type": "integer",
            "format": "int32"
          },
          "secretsSkipped": {
            "type": "integer",
            "format": "int32"
          },
          "providersEncrypted": {
            "type": "integer",
            "format": "int32"
          },
          "webhooksEncrypted": {
            "type": "integer",
            "format": "int32"
          },
          "notificationsEncrypted": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "NotificationChannelId": { },
      "NotificationChannelOperationResponse": {
        "required": [
          "success",
          "message"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "channel": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/NotificationChannelResponse"
              }
            ]
          }
        }
      },
      "NotificationChannelResponse": {
        "required": [
          "id",
          "name",
          "channelType",
          "isActive",
          "eventTypes",
          "publicConfiguration",
          "sensitiveKeys",
          "projectId",
          "environmentId",
          "createdBy",
          "createdAt",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "channelType": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "eventTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "publicConfiguration": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "sensitiveKeys": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "projectId": {
            "type": [
              "null",
              "string"
            ]
          },
          "environmentId": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdBy": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "OidcTokenResponse": {
        "required": [
          "token",
          "expiresAt"
        ],
        "type": "object",
        "properties": {
          "token": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "OperationResponse": {
        "required": [
          "success",
          "message"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "data": { }
        }
      },
      "PageableObject": {
        "required": [
          "paged",
          "pageNumber",
          "pageSize",
          "offset",
          "unpaged",
          "sort"
        ],
        "type": "object",
        "properties": {
          "paged": {
            "type": "boolean"
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "offset": {
            "type": "integer",
            "format": "int64"
          },
          "unpaged": {
            "type": "boolean"
          },
          "sort": {
            "$ref": "#/components/schemas/SortObject"
          }
        }
      },
      "PagedResponseOfGroupResponse": {
        "required": [
          "content",
          "number",
          "size",
          "totalPages",
          "totalElements",
          "numberOfElements",
          "first",
          "last",
          "empty"
        ],
        "type": "object",
        "properties": {
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupResponse"
            }
          },
          "number": {
            "type": "integer",
            "format": "int32"
          },
          "size": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "totalElements": {
            "type": "integer",
            "format": "int64"
          },
          "numberOfElements": {
            "type": "integer",
            "format": "int32"
          },
          "first": {
            "type": "boolean"
          },
          "last": {
            "type": "boolean"
          },
          "empty": {
            "type": "boolean"
          }
        }
      },
      "PageProjectResponse": {
        "required": [
          "totalPages",
          "totalElements",
          "pageable",
          "size",
          "content",
          "number",
          "numberOfElements",
          "sort",
          "first",
          "last",
          "empty"
        ],
        "type": "object",
        "properties": {
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "totalElements": {
            "type": "integer",
            "format": "int64"
          },
          "pageable": {
            "$ref": "#/components/schemas/PageableObject"
          },
          "size": {
            "type": "integer",
            "format": "int32"
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectResponse"
            }
          },
          "number": {
            "type": "integer",
            "format": "int32"
          },
          "numberOfElements": {
            "type": "integer",
            "format": "int32"
          },
          "sort": {
            "$ref": "#/components/schemas/SortObject"
          },
          "first": {
            "type": "boolean"
          },
          "last": {
            "type": "boolean"
          },
          "empty": {
            "type": "boolean"
          }
        }
      },
      "PkiCaPublicKeyResponse": {
        "required": [
          "certificate",
          "caChain",
          "instructions"
        ],
        "type": "object",
        "properties": {
          "certificate": {
            "type": "string"
          },
          "caChain": {
            "type": "string"
          },
          "instructions": {
            "type": "string"
          },
          "acmeDirectoryUrl": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PkiCaResponse": {
        "required": [
          "success",
          "message",
          "certificate",
          "serialNumber",
          "expiration"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "certificate": {
            "type": "string"
          },
          "serialNumber": {
            "type": "string"
          },
          "expiration": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "PkiCaSetupRequest": {
        "required": [
          "commonName"
        ],
        "type": "object",
        "properties": {
          "commonName": {
            "type": "string"
          },
          "ttl": {
            "type": "string",
            "default": "87600h"
          },
          "keyType": {
            "type": "string",
            "default": "rsa"
          },
          "keyBits": {
            "type": "integer",
            "format": "int32",
            "default": 4096
          },
          "organization": {
            "type": [
              "null",
              "string"
            ]
          },
          "country": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PkiCertificatesResponse": {
        "required": [
          "certificates"
        ],
        "type": "object",
        "properties": {
          "certificates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PkiCertSummaryResponse"
            }
          }
        }
      },
      "PkiCertSummaryResponse": {
        "required": [
          "serialNumber",
          "commonName",
          "expiration",
          "revoked"
        ],
        "type": "object",
        "properties": {
          "serialNumber": {
            "type": "string"
          },
          "commonName": {
            "type": [
              "null",
              "string"
            ]
          },
          "expiration": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int64"
          },
          "revoked": {
            "type": "boolean"
          }
        }
      },
      "PkiCreateRoleRequest": {
        "required": [
          "name",
          "allowedDomains"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "allowedDomains": {
            "type": "string"
          },
          "allowSubdomains": {
            "type": "boolean",
            "default": true
          },
          "allowLocalhost": {
            "type": "boolean",
            "default": false
          },
          "allowAnyName": {
            "type": "boolean",
            "default": false
          },
          "maxTtl": {
            "type": "string",
            "default": "8760h"
          },
          "defaultTtl": {
            "type": "string",
            "default": "720h"
          },
          "keyType": {
            "type": "string",
            "default": "rsa"
          },
          "keyBits": {
            "type": "integer",
            "format": "int32",
            "default": 2048
          }
        }
      },
      "PkiIssueCertificateRequest": {
        "required": [
          "commonName",
          "roleName"
        ],
        "type": "object",
        "properties": {
          "commonName": {
            "type": "string"
          },
          "roleName": {
            "type": "string"
          },
          "altNames": {
            "type": [
              "null",
              "string"
            ]
          },
          "ipSans": {
            "type": [
              "null",
              "string"
            ]
          },
          "ttl": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PkiIssuedCertificateResponse": {
        "required": [
          "success",
          "certificate",
          "privateKey",
          "privateKeyType",
          "issuingCa",
          "caChain",
          "serialNumber",
          "expiration",
          "instructions"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "certificate": {
            "type": "string"
          },
          "privateKey": {
            "type": "string"
          },
          "privateKeyType": {
            "type": "string"
          },
          "issuingCa": {
            "type": "string"
          },
          "caChain": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "serialNumber": {
            "type": "string"
          },
          "expiration": {
            "type": "integer",
            "format": "int64"
          },
          "instructions": {
            "type": "string"
          }
        }
      },
      "PkiLogEntry": {
        "required": [
          "id",
          "projectId",
          "projectSlug",
          "environmentId",
          "environmentSlug",
          "action",
          "roleName",
          "commonName",
          "serialNumber",
          "ttl",
          "altNames",
          "actorType",
          "userId",
          "userName",
          "apiKeyId",
          "apiKeyName",
          "appClient",
          "ipAddress",
          "userAgent",
          "country",
          "city",
          "timestamp"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "projectSlug": {
            "type": "string"
          },
          "environmentId": {
            "type": "string",
            "format": "uuid"
          },
          "environmentSlug": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "roleName": {
            "type": [
              "null",
              "string"
            ]
          },
          "commonName": {
            "type": [
              "null",
              "string"
            ]
          },
          "serialNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "ttl": {
            "type": [
              "null",
              "string"
            ]
          },
          "altNames": {
            "type": [
              "null",
              "string"
            ]
          },
          "actorType": {
            "type": "string"
          },
          "userId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "userName": {
            "type": [
              "null",
              "string"
            ]
          },
          "apiKeyId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "apiKeyName": {
            "type": [
              "null",
              "string"
            ]
          },
          "appClient": {
            "type": [
              "null",
              "string"
            ]
          },
          "ipAddress": {
            "type": "string"
          },
          "userAgent": {
            "type": [
              "null",
              "string"
            ]
          },
          "country": {
            "type": [
              "null",
              "string"
            ]
          },
          "city": {
            "type": [
              "null",
              "string"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "PkiLogPage": {
        "required": [
          "items",
          "totalCount",
          "page",
          "size"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PkiLogEntry"
            }
          },
          "totalCount": {
            "type": "integer",
            "format": "int64"
          },
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "size": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "PkiRevokeRequest": {
        "required": [
          "serialNumber"
        ],
        "type": "object",
        "properties": {
          "serialNumber": {
            "type": "string"
          }
        }
      },
      "PkiRevokeResponse": {
        "required": [
          "success",
          "message"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "PkiRoleResponse": {
        "required": [
          "name",
          "allowedDomains",
          "allowSubdomains",
          "allowLocalhost",
          "allowAnyName",
          "maxTtl",
          "defaultTtl",
          "keyType"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "allowedDomains": {
            "type": "string"
          },
          "allowSubdomains": {
            "type": "boolean"
          },
          "allowLocalhost": {
            "type": "boolean"
          },
          "allowAnyName": {
            "type": "boolean"
          },
          "maxTtl": {
            "type": "string"
          },
          "defaultTtl": {
            "type": "string"
          },
          "keyType": {
            "type": "string"
          }
        }
      },
      "PkiRolesResponse": {
        "required": [
          "roles"
        ],
        "type": "object",
        "properties": {
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PkiRoleResponse"
            }
          }
        }
      },
      "PkiTidyResponse": {
        "required": [
          "success",
          "message"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": [
              "null",
              "string"
            ]
          },
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "detail": {
            "type": [
              "null",
              "string"
            ]
          },
          "instance": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ProjectEncryptionKeyStatusResponse": {
        "required": [
          "tenantEncryptionEnabled",
          "hasProjectDek",
          "hasTenantDek",
          "usingFallback",
          "lastKeyEventAt"
        ],
        "type": "object",
        "properties": {
          "tenantEncryptionEnabled": {
            "type": "boolean"
          },
          "hasProjectDek": {
            "type": "boolean"
          },
          "hasTenantDek": {
            "type": "boolean"
          },
          "usingFallback": {
            "type": "boolean"
          },
          "lastKeyEventAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "ProjectExportBundle": {
        "required": [
          "exportVersion",
          "exportedAt",
          "project",
          "environments",
          "providers"
        ],
        "type": "object",
        "properties": {
          "exportVersion": {
            "type": "string"
          },
          "exportedAt": {
            "type": "string",
            "format": "date-time"
          },
          "project": {
            "$ref": "#/components/schemas/ProjectExportInfo"
          },
          "environments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EnvironmentExportInfo"
            }
          },
          "providers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProviderExportInfo"
            }
          }
        }
      },
      "ProjectExportInfo": {
        "required": [
          "name",
          "slug",
          "description"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ProjectGlobalSecurityReport": {
        "required": [
          "overallRisk",
          "critical",
          "high",
          "medium",
          "low",
          "totalSecretsScanned",
          "providerFetchFailed",
          "noProviderConfigured",
          "scannedAt",
          "insights",
          "breachCheckSkipped"
        ],
        "type": "object",
        "properties": {
          "overallRisk": {
            "type": "string"
          },
          "critical": {
            "type": "integer",
            "format": "int32"
          },
          "high": {
            "type": "integer",
            "format": "int32"
          },
          "medium": {
            "type": "integer",
            "format": "int32"
          },
          "low": {
            "type": "integer",
            "format": "int32"
          },
          "totalSecretsScanned": {
            "type": "integer",
            "format": "int32"
          },
          "providerFetchFailed": {
            "type": "boolean"
          },
          "noProviderConfigured": {
            "type": "boolean"
          },
          "scannedAt": {
            "type": "string",
            "format": "date-time"
          },
          "insights": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SecurityInsight"
            }
          },
          "breachCheckSkipped": {
            "type": "boolean"
          }
        }
      },
      "ProjectImportResponse": {
        "required": [
          "success",
          "message",
          "projectId",
          "projectSlug",
          "environmentsCreated",
          "providersMatched",
          "warnings"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "projectSlug": {
            "type": "string"
          },
          "environmentsCreated": {
            "type": "integer",
            "format": "int32"
          },
          "providersMatched": {
            "type": "integer",
            "format": "int32"
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ProjectOperationResponse": {
        "required": [
          "success",
          "message",
          "timestamp"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "project": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ProjectResponse"
              }
            ]
          }
        }
      },
      "ProjectResponse": {
        "required": [
          "id",
          "name",
          "slug",
          "description",
          "ownerId",
          "ownerName",
          "status",
          "memberCount",
          "environmentCount",
          "secretCount",
          "createdAt",
          "updatedAt",
          "deletedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "ownerId": {
            "type": "string"
          },
          "ownerName": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "memberCount": {
            "type": "integer",
            "format": "int32"
          },
          "environmentCount": {
            "type": "integer",
            "format": "int32"
          },
          "secretCount": {
            "type": "integer",
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "deletedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "currentUserRole": {
            "type": [
              "null",
              "string"
            ]
          },
          "tags": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ProjectSecurityResponse": {
        "required": [
          "projectSlug",
          "globalSecrets",
          "environments"
        ],
        "type": "object",
        "properties": {
          "projectSlug": {
            "type": "string"
          },
          "globalSecrets": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ProjectGlobalSecurityReport"
              }
            ]
          },
          "environments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EnvironmentSecuritySummaryEntry"
            }
          }
        }
      },
      "ProjectUserResponse": {
        "required": [
          "userId",
          "username",
          "email",
          "fullName",
          "role",
          "permissions",
          "assignedAt"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "fullName": {
            "type": [
              "null",
              "string"
            ]
          },
          "role": {
            "type": "string"
          },
          "permissions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "assignedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ProviderCatalogItem": {
        "required": [
          "type",
          "name",
          "description",
          "available"
        ],
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "available": {
            "type": "boolean"
          },
          "features": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "documentationUrl": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ProviderCatalogResponse": {
        "required": [
          "providers",
          "totalProviders",
          "message"
        ],
        "type": "object",
        "properties": {
          "providers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProviderCatalogItem"
            }
          },
          "totalProviders": {
            "type": "integer",
            "format": "int32"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "ProviderExportInfo": {
        "required": [
          "name",
          "slug",
          "type",
          "source",
          "description",
          "publicConfiguration"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "publicConfiguration": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "ProviderOperationResponse": {
        "required": [
          "success",
          "message",
          "provider"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "provider": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ProviderResponse"
              }
            ]
          }
        }
      },
      "ProviderResponse": {
        "required": [
          "id",
          "name",
          "slug",
          "type",
          "source",
          "description",
          "status",
          "configuration",
          "createdBy",
          "createdAt",
          "updatedAt",
          "deletedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "type": "string"
          },
          "configuration": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "createdBy": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "deletedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "ProvisionProjectDekResponse": {
        "required": [
          "message",
          "projectId",
          "nextStep"
        ],
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "projectId": {
            "type": "string"
          },
          "nextStep": {
            "type": "string"
          }
        }
      },
      "RecoverEncryptionKeyRequest": {
        "required": [
          "newMasterPublicKey",
          "challengeSignature"
        ],
        "type": "object",
        "properties": {
          "newMasterPublicKey": {
            "type": "string"
          },
          "challengeSignature": {
            "type": "string"
          }
        }
      },
      "RecoverEncryptionKeyResponse": {
        "required": [
          "message",
          "newMasterKeyFingerprint"
        ],
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "newMasterKeyFingerprint": {
            "type": "string"
          }
        }
      },
      "RecoveryChallengeResponse": {
        "required": [
          "challenge",
          "expiresAt",
          "instructions"
        ],
        "type": "object",
        "properties": {
          "challenge": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "instructions": {
            "type": "string"
          }
        }
      },
      "RegionInfo": {
        "required": [
          "id",
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      },
      "RegisterTenantEncryptionKeyRequest": {
        "required": [
          "masterPublicKey",
          "recoveryPublicKey",
          "keyLossAcknowledged"
        ],
        "type": "object",
        "properties": {
          "masterPublicKey": {
            "type": "string"
          },
          "recoveryPublicKey": {
            "type": "string"
          },
          "keyLossAcknowledged": {
            "type": "boolean"
          }
        }
      },
      "RegisterTenantEncryptionKeyResponse": {
        "required": [
          "message",
          "masterKeyFingerprint",
          "recoveryKeyFingerprint"
        ],
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "masterKeyFingerprint": {
            "type": "string"
          },
          "recoveryKeyFingerprint": {
            "type": "string"
          }
        }
      },
      "ReprovisionTenantDekResponse": {
        "required": [
          "message",
          "nextStep"
        ],
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "nextStep": {
            "type": "string"
          }
        }
      },
      "RequestSsoAccessResponse": {
        "required": [
          "status",
          "message"
        ],
        "type": "object",
        "properties": {
          "status": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "RoleCatalogResponse": {
        "required": [
          "roles",
          "total"
        ],
        "type": "object",
        "properties": {
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleInfo"
            }
          },
          "total": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "RoleInfo": {
        "required": [
          "name",
          "description",
          "permissions"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "permissions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "RollbackSecretRequest": {
        "required": [
          "version"
        ],
        "type": "object",
        "properties": {
          "version": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "RotateProjectDekResponse": {
        "required": [
          "message",
          "projectId",
          "migrationRequired"
        ],
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "projectId": {
            "type": "string"
          },
          "migrationRequired": {
            "type": "string"
          }
        }
      },
      "RotateRotationSigningSecretResponse": {
        "required": [
          "success",
          "message",
          "newSigningSecret",
          "newSigningSecretKeyPrefix"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "newSigningSecret": {
            "type": "string"
          },
          "newSigningSecretKeyPrefix": {
            "type": "string"
          }
        }
      },
      "SecretDriftSummaryResponse": {
        "required": [
          "hasDrift",
          "missingCount",
          "extraCount"
        ],
        "type": "object",
        "properties": {
          "hasDrift": {
            "type": "boolean"
          },
          "missingCount": {
            "type": "integer",
            "format": "int32"
          },
          "extraCount": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "SecretManifestItem": {
        "required": [
          "key",
          "type",
          "description"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SecretsHashResponse": {
        "required": [
          "hash",
          "secretCount",
          "computedAt"
        ],
        "type": "object",
        "properties": {
          "hash": {
            "type": "string"
          },
          "secretCount": {
            "type": "integer",
            "format": "int32"
          },
          "computedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "SecretsManifest": {
        "required": [
          "projectSlug",
          "environmentSlug",
          "generatedAt",
          "secrets"
        ],
        "type": "object",
        "properties": {
          "projectSlug": {
            "type": "string"
          },
          "environmentSlug": {
            "type": "string"
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "secrets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SecretManifestItem"
            }
          }
        }
      },
      "SecretVersionInfo": {
        "required": [
          "version",
          "createdAt",
          "deletedAt",
          "isDestroyed",
          "isCurrent"
        ],
        "type": "object",
        "properties": {
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "deletedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "isDestroyed": {
            "type": "boolean"
          },
          "isCurrent": {
            "type": "boolean"
          }
        }
      },
      "SecretVersionsMetadata": {
        "required": [
          "currentVersion",
          "oldestVersion",
          "maxVersions",
          "versions"
        ],
        "type": "object",
        "properties": {
          "currentVersion": {
            "type": "integer",
            "format": "int32"
          },
          "oldestVersion": {
            "type": "integer",
            "format": "int32"
          },
          "maxVersions": {
            "type": "integer",
            "format": "int32"
          },
          "versions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SecretVersionInfo"
            }
          }
        }
      },
      "SecurityInsight": {
        "required": [
          "type",
          "severity",
          "secretKey",
          "detail",
          "recommendation"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/SecurityInsightType"
          },
          "severity": {
            "$ref": "#/components/schemas/SecurityRiskLevel"
          },
          "secretKey": {
            "type": [
              "null",
              "string"
            ]
          },
          "detail": {
            "type": "string"
          },
          "recommendation": {
            "type": "string"
          },
          "matchedPattern": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SecurityInsightResponse": {
        "required": [
          "type",
          "severity",
          "secretKey",
          "detail",
          "recommendation",
          "matchedPattern"
        ],
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "secretKey": {
            "type": [
              "null",
              "string"
            ]
          },
          "detail": {
            "type": "string"
          },
          "recommendation": {
            "type": "string"
          },
          "matchedPattern": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SecurityInsightType": {
        "enum": [
          "WeakEntropy",
          "KnownBreached",
          "KnownKeyFormat",
          "KnownBadValue",
          "StaleSecret",
          "DuplicateAcrossEnvironments",
          "PolicyViolation",
          "AnomalousAccess"
        ]
      },
      "SecurityReportSummary": {
        "required": [
          "critical",
          "high",
          "medium",
          "low",
          "passed",
          "totalScanned"
        ],
        "type": "object",
        "properties": {
          "critical": {
            "type": "integer",
            "format": "int32"
          },
          "high": {
            "type": "integer",
            "format": "int32"
          },
          "medium": {
            "type": "integer",
            "format": "int32"
          },
          "low": {
            "type": "integer",
            "format": "int32"
          },
          "passed": {
            "type": "integer",
            "format": "int32"
          },
          "totalScanned": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "SecurityRiskLevel": {
        "enum": [
          "None",
          "Low",
          "Medium",
          "High",
          "Critical"
        ]
      },
      "SetGlobalSecretProviderCommand": {
        "required": [
          "providerId"
        ],
        "type": "object",
        "properties": {
          "providerId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "SetGlobalSecretProviderResponse": {
        "required": [
          "success",
          "message",
          "globalSecretProviderId"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "globalSecretProviderId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "SetRotationPolicyRequest": {
        "required": [
          "enabled",
          "intervalDays"
        ],
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "intervalDays": {
            "type": "integer",
            "format": "int32"
          },
          "strategy": {
            "type": "string",
            "default": "HttpWebhook"
          },
          "endpoint": {
            "type": [
              "null",
              "string"
            ]
          },
          "apiKeyHeader": {
            "type": [
              "null",
              "string"
            ]
          },
          "apiKey": {
            "type": [
              "null",
              "string"
            ]
          },
          "randomFormat": {
            "type": [
              "null",
              "string"
            ]
          },
          "revokePreviousAfterDays": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          }
        }
      },
      "SetRotationPolicyResponse": {
        "required": [
          "success",
          "message"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "signingSecret": {
            "type": [
              "null",
              "string"
            ]
          },
          "signingSecretKeyPrefix": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ShareContentResponse": {
        "required": [
          "shareId",
          "label",
          "ciphertext",
          "iv",
          "expiresAt",
          "viewsRemaining"
        ],
        "type": "object",
        "properties": {
          "shareId": {
            "type": "string",
            "format": "uuid"
          },
          "label": {
            "type": "string"
          },
          "ciphertext": {
            "type": "string"
          },
          "iv": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "viewsRemaining": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          }
        }
      },
      "ShareListItem": {
        "required": [
          "shareId",
          "label",
          "expiresAt",
          "createdAt",
          "isRevoked",
          "maxViews",
          "viewCount",
          "hasPassword"
        ],
        "type": "object",
        "properties": {
          "shareId": {
            "type": "string",
            "format": "uuid"
          },
          "label": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "isRevoked": {
            "type": "boolean"
          },
          "maxViews": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "viewCount": {
            "type": "integer",
            "format": "int32"
          },
          "hasPassword": {
            "type": "boolean"
          }
        }
      },
      "ShareMetaResponse": {
        "required": [
          "shareId",
          "label",
          "expiresAt",
          "hasPassword",
          "passwordSalt",
          "maxViews",
          "viewCount",
          "viewsRemaining"
        ],
        "type": "object",
        "properties": {
          "shareId": {
            "type": "string",
            "format": "uuid"
          },
          "label": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "hasPassword": {
            "type": "boolean"
          },
          "passwordSalt": {
            "type": [
              "null",
              "string"
            ]
          },
          "maxViews": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "viewCount": {
            "type": "integer",
            "format": "int32"
          },
          "viewsRemaining": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          }
        }
      },
      "SortObject": {
        "required": [
          "sorted",
          "empty",
          "unsorted"
        ],
        "type": "object",
        "properties": {
          "sorted": {
            "type": "boolean"
          },
          "empty": {
            "type": "boolean"
          },
          "unsorted": {
            "type": "boolean"
          }
        }
      },
      "SshCaPublicKeyResponse": {
        "required": [
          "caPublicKey",
          "instructions",
          "terraformSnippet",
          "ansibleSnippet"
        ],
        "type": "object",
        "properties": {
          "caPublicKey": {
            "type": "string"
          },
          "instructions": {
            "type": "string"
          },
          "terraformSnippet": {
            "type": "string"
          },
          "ansibleSnippet": {
            "type": "string"
          }
        }
      },
      "SshConfigureResponse": {
        "required": [
          "success",
          "message",
          "caPublicKey"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "caPublicKey": {
            "type": "string"
          }
        }
      },
      "SshCreateRoleRequest": {
        "required": [
          "name",
          "allowedUsers"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "allowedUsers": {
            "type": "string"
          },
          "defaultTtl": {
            "type": "string",
            "default": "8h"
          },
          "maxTtl": {
            "type": "string",
            "default": "24h"
          }
        }
      },
      "SshLogEntry": {
        "required": [
          "id",
          "projectId",
          "projectSlug",
          "environmentId",
          "environmentSlug",
          "action",
          "roleName",
          "keyFingerprint",
          "certSerial",
          "ttl",
          "actorType",
          "userId",
          "userName",
          "apiKeyId",
          "apiKeyName",
          "appClient",
          "ipAddress",
          "userAgent",
          "country",
          "city",
          "timestamp"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "projectId": {
            "type": "string",
            "format": "uuid"
          },
          "projectSlug": {
            "type": "string"
          },
          "environmentId": {
            "type": "string",
            "format": "uuid"
          },
          "environmentSlug": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "roleName": {
            "type": "string"
          },
          "keyFingerprint": {
            "type": [
              "null",
              "string"
            ]
          },
          "certSerial": {
            "type": [
              "null",
              "string"
            ]
          },
          "ttl": {
            "type": [
              "null",
              "string"
            ]
          },
          "actorType": {
            "type": "string"
          },
          "userId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "userName": {
            "type": [
              "null",
              "string"
            ]
          },
          "apiKeyId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "apiKeyName": {
            "type": [
              "null",
              "string"
            ]
          },
          "appClient": {
            "type": [
              "null",
              "string"
            ]
          },
          "ipAddress": {
            "type": "string"
          },
          "userAgent": {
            "type": [
              "null",
              "string"
            ]
          },
          "country": {
            "type": [
              "null",
              "string"
            ]
          },
          "city": {
            "type": [
              "null",
              "string"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "SshLogPage": {
        "required": [
          "items",
          "totalCount",
          "page",
          "size"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SshLogEntry"
            }
          },
          "totalCount": {
            "type": "integer",
            "format": "int64"
          },
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "size": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "SshRoleResponse": {
        "required": [
          "name",
          "allowedUsers",
          "defaultTtl",
          "maxTtl"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "allowedUsers": {
            "type": "string"
          },
          "defaultTtl": {
            "type": "string"
          },
          "maxTtl": {
            "type": "string"
          }
        }
      },
      "SshRolesResponse": {
        "required": [
          "roles"
        ],
        "type": "object",
        "properties": {
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SshRoleResponse"
            }
          }
        }
      },
      "SshSignedCertResponse": {
        "required": [
          "success",
          "signedKey",
          "serialNumber",
          "instructions"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "signedKey": {
            "type": "string"
          },
          "serialNumber": {
            "type": "string"
          },
          "instructions": {
            "type": "string"
          }
        }
      },
      "SshSignRequest": {
        "required": [
          "publicKey",
          "roleName"
        ],
        "type": "object",
        "properties": {
          "publicKey": {
            "type": "string"
          },
          "roleName": {
            "type": "string"
          },
          "ttl": {
            "type": [
              "null",
              "string"
            ]
          },
          "validPrincipals": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SsoConfigResponse": {
        "required": [
          "idpAlias",
          "providerType",
          "domains",
          "enforced",
          "configuredAt",
          "spMetadataUrl"
        ],
        "type": "object",
        "properties": {
          "idpAlias": {
            "type": "string"
          },
          "providerType": {
            "$ref": "#/components/schemas/SsoProviderType"
          },
          "domains": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "enforced": {
            "type": "boolean"
          },
          "configuredAt": {
            "type": "string",
            "format": "date-time"
          },
          "spMetadataUrl": {
            "type": "string"
          }
        }
      },
      "SsoHintResponse": {
        "required": [
          "idpAlias",
          "enforced"
        ],
        "type": "object",
        "properties": {
          "idpAlias": {
            "type": "string"
          },
          "enforced": {
            "type": "boolean"
          }
        }
      },
      "SsoProviderType": {
        "enum": [
          "Saml",
          "Oidc"
        ]
      },
      "SsoStatusResponse": {
        "required": [
          "approvalStatus",
          "requestedAt",
          "rejectionReason",
          "config"
        ],
        "type": "object",
        "properties": {
          "approvalStatus": {
            "type": "string"
          },
          "requestedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "rejectionReason": {
            "type": [
              "null",
              "string"
            ]
          },
          "config": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SsoConfigResponse"
              }
            ]
          }
        }
      },
      "SwitchTenantResponse": {
        "required": [
          "tenantId",
          "tenantName",
          "tenantSlug",
          "requiresTokenRefresh"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "tenantName": {
            "type": "string"
          },
          "tenantSlug": {
            "type": "string"
          },
          "requiresTokenRefresh": {
            "type": "boolean"
          }
        }
      },
      "TenantAccess": {
        "required": [
          "tenantId",
          "tenantName",
          "slug",
          "userId",
          "userEmail",
          "role"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "tenantName": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "userId": {
            "type": "string",
            "format": "uuid"
          },
          "userEmail": {
            "type": "string"
          },
          "role": {
            "$ref": "#/components/schemas/TenantRole"
          }
        }
      },
      "TenantAccessResponse": {
        "required": [
          "tenantId",
          "hasAccess"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "hasAccess": {
            "type": "boolean"
          }
        }
      },
      "TenantEncryptionKeyStatusResponse": {
        "required": [
          "encryptionEnabled",
          "hasDek",
          "masterKeyFingerprint",
          "recoveryKeyFingerprint",
          "registeredAt",
          "enforceZke"
        ],
        "type": "object",
        "properties": {
          "encryptionEnabled": {
            "type": "boolean"
          },
          "hasDek": {
            "type": "boolean"
          },
          "masterKeyFingerprint": {
            "type": [
              "null",
              "string"
            ]
          },
          "recoveryKeyFingerprint": {
            "type": [
              "null",
              "string"
            ]
          },
          "registeredAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "enforceZke": {
            "type": "boolean"
          }
        }
      },
      "TenantInviteRole": {
        "enum": [
          "Admin",
          "User",
          "Viewer"
        ]
      },
      "TenantRole": {
        "enum": [
          "Owner",
          "Admin",
          "User",
          "Viewer"
        ]
      },
      "TenantSecuritySummaryResponse": {
        "required": [
          "totalEnvironments",
          "scannedEnvironments",
          "criticalEnvironments",
          "highEnvironments",
          "mediumEnvironments",
          "healthyEnvironments",
          "totalCritical",
          "totalHigh",
          "totalMedium",
          "totalLow",
          "environmentsByRisk"
        ],
        "type": "object",
        "properties": {
          "totalEnvironments": {
            "type": "integer",
            "format": "int32"
          },
          "scannedEnvironments": {
            "type": "integer",
            "format": "int32"
          },
          "criticalEnvironments": {
            "type": "integer",
            "format": "int32"
          },
          "highEnvironments": {
            "type": "integer",
            "format": "int32"
          },
          "mediumEnvironments": {
            "type": "integer",
            "format": "int32"
          },
          "healthyEnvironments": {
            "type": "integer",
            "format": "int32"
          },
          "totalCritical": {
            "type": "integer",
            "format": "int32"
          },
          "totalHigh": {
            "type": "integer",
            "format": "int32"
          },
          "totalMedium": {
            "type": "integer",
            "format": "int32"
          },
          "totalLow": {
            "type": "integer",
            "format": "int32"
          },
          "environmentsByRisk": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EnvironmentRiskEntry"
            }
          }
        }
      },
      "TenantStatus": {
        "enum": [
          "Active",
          "Suspended",
          "Archived"
        ]
      },
      "TenantUsageResponse": {
        "required": [
          "plan",
          "freeMonthlyQuota",
          "overageRatePerRequest",
          "currentMonth",
          "requestsUsed",
          "requestsRemaining",
          "estimatedOverageCost",
          "isUnlimited",
          "hasActiveSubscription",
          "isOperatorManaged"
        ],
        "type": "object",
        "properties": {
          "plan": {
            "type": "string"
          },
          "freeMonthlyQuota": {
            "type": "integer",
            "format": "int32"
          },
          "overageRatePerRequest": {
            "type": "number",
            "format": "double"
          },
          "currentMonth": {
            "type": "string"
          },
          "requestsUsed": {
            "type": "integer",
            "format": "int64"
          },
          "requestsRemaining": {
            "type": "integer",
            "format": "int64"
          },
          "estimatedOverageCost": {
            "type": "number",
            "format": "double"
          },
          "isUnlimited": {
            "type": "boolean"
          },
          "hasActiveSubscription": {
            "type": "boolean"
          },
          "isOperatorManaged": {
            "type": "boolean"
          }
        }
      },
      "TenantUserResponse": {
        "required": [
          "userId",
          "membershipId",
          "email",
          "fullName",
          "role",
          "status",
          "joinedAt"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string"
          },
          "membershipId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "fullName": {
            "type": [
              "null",
              "string"
            ]
          },
          "role": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "joinedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ToggleSsoEnforcementRequest": {
        "required": [
          "enforced"
        ],
        "type": "object",
        "properties": {
          "enforced": {
            "type": "boolean"
          }
        }
      },
      "ToggleSsoEnforcementResponse": {
        "required": [
          "enforced",
          "message"
        ],
        "type": "object",
        "properties": {
          "enforced": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "ToggleZkeEnforcementRequest": {
        "required": [
          "enforced"
        ],
        "type": "object",
        "properties": {
          "enforced": {
            "type": "boolean"
          }
        }
      },
      "ToggleZkeEnforcementResponse": {
        "required": [
          "enforced",
          "message"
        ],
        "type": "object",
        "properties": {
          "enforced": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "TotpCodeResponse": {
        "required": [
          "name",
          "code",
          "periodSeconds"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "periodSeconds": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "TotpDeleteResponse": {
        "required": [
          "success",
          "message"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "TotpKeyImportResponse": {
        "required": [
          "success",
          "name",
          "qrCodeBase64",
          "otpauthUrl",
          "message"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "qrCodeBase64": {
            "type": [
              "null",
              "string"
            ]
          },
          "otpauthUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "message": {
            "type": "string"
          }
        }
      },
      "TotpKeyListItem": {
        "required": [
          "name",
          "issuer",
          "accountName",
          "algorithm",
          "digits",
          "period"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "issuer": {
            "type": [
              "null",
              "string"
            ]
          },
          "accountName": {
            "type": [
              "null",
              "string"
            ]
          },
          "algorithm": {
            "type": "string"
          },
          "digits": {
            "type": "integer",
            "format": "int32"
          },
          "period": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "TriggerScanResponse": {
        "required": [
          "environmentId",
          "message"
        ],
        "type": "object",
        "properties": {
          "environmentId": {
            "type": "string",
            "format": "uuid"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "TrustDomainResponse": {
        "required": [
          "id",
          "environmentId",
          "name",
          "description",
          "oidcIssuerUrl",
          "oidcJwksUri",
          "claimRules",
          "issuedTokenTtlMinutes",
          "grantedRole",
          "isEnabled",
          "createdAt",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "environmentId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "oidcIssuerUrl": {
            "type": "string"
          },
          "oidcJwksUri": {
            "type": "string"
          },
          "claimRules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClaimRule"
            }
          },
          "issuedTokenTtlMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "grantedRole": {
            "type": "string"
          },
          "isEnabled": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "UnlockShareCommand": {
        "required": [
          "passwordHash"
        ],
        "type": "object",
        "properties": {
          "passwordHash": {
            "type": "string"
          }
        }
      },
      "UpdateApiKeyRequest": {
        "required": [
          "clientName",
          "description",
          "expiresAt",
          "clearExpiration"
        ],
        "type": "object",
        "properties": {
          "clientName": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "clearExpiration": {
            "type": [
              "null",
              "boolean"
            ]
          }
        }
      },
      "UpdateApiKeyStatusRequest": {
        "required": [
          "isActive"
        ],
        "type": "object",
        "properties": {
          "isActive": {
            "type": "boolean"
          }
        }
      },
      "UpdateCurrentUserRequest": {
        "required": [
          "nombre",
          "email"
        ],
        "type": "object",
        "properties": {
          "nombre": {
            "type": [
              "null",
              "string"
            ]
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateEnvironmentCommand": {
        "required": [
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateEnvironmentUserRoleRequest": {
        "required": [
          "role"
        ],
        "type": "object",
        "properties": {
          "role": {
            "type": "string"
          }
        }
      },
      "UpdateGroupCommand": {
        "required": [
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateLeasePolicyCommand": {
        "required": [
          "defaultTtlMinutes",
          "maxTtlMinutes",
          "allowRenewal"
        ],
        "type": "object",
        "properties": {
          "defaultTtlMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "maxTtlMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "allowRenewal": {
            "type": "boolean"
          }
        }
      },
      "UpdateNotificationChannelRequest": {
        "required": [
          "name",
          "configuration",
          "eventTypes"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "configuration": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "eventTypes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "UpdateProjectRequest": {
        "required": [
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "tags": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "UpdateProviderCommand": {
        "required": [
          "name",
          "description",
          "configuration"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "configuration": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "UpdateSecretMetadataRequest": {
        "required": [
          "description",
          "tags"
        ],
        "type": "object",
        "properties": {
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "tags": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "type": {
            "type": [
              "null",
              "string"
            ]
          },
          "ignoreInScan": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "expiryWarningDays": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          }
        }
      },
      "UpdateSecretRequest": {
        "required": [
          "key",
          "value",
          "description"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "type": {
            "type": [
              "null",
              "string"
            ]
          },
          "ignoreInScan": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "tags": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "UpdateSecretResponse": {
        "required": [
          "success",
          "message",
          "key"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "key": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateSsoConfigRequest": {
        "required": [
          "metadataUrl",
          "discoveryUrl",
          "clientSecret",
          "domains"
        ],
        "type": "object",
        "properties": {
          "metadataUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "discoveryUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "clientSecret": {
            "type": [
              "null",
              "string"
            ]
          },
          "domains": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "UpdateTrustDomainCommand": {
        "required": [
          "name",
          "description",
          "oidcIssuerUrl",
          "oidcJwksUri",
          "claimRules",
          "issuedTokenTtlMinutes",
          "isEnabled"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "oidcIssuerUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "oidcJwksUri": {
            "type": [
              "null",
              "string"
            ]
          },
          "claimRules": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ClaimRule"
            }
          },
          "issuedTokenTtlMinutes": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "isEnabled": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "grantedRole": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateUserPermissionsRequest": {
        "required": [
          "role"
        ],
        "type": "object",
        "properties": {
          "role": {
            "type": "string"
          }
        }
      },
      "UpdateWebhookRequest": {
        "required": [
          "name",
          "targetUrl",
          "eventTypes"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "targetUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "eventTypes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "UploadFailure": {
        "required": [
          "key",
          "reason"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        }
      },
      "UploadSecretsFileResponse": {
        "required": [
          "imported",
          "skipped",
          "failed"
        ],
        "type": "object",
        "properties": {
          "imported": {
            "type": "integer",
            "format": "int32"
          },
          "skipped": {
            "type": "integer",
            "format": "int32"
          },
          "failed": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadFailure"
            }
          }
        }
      },
      "UserResponse": {
        "required": [
          "id",
          "username",
          "nombre",
          "email",
          "roles",
          "createdAt",
          "updatedAt",
          "isActive"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "nombre": {
            "type": [
              "null",
              "string"
            ]
          },
          "email": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "isActive": {
            "type": "boolean"
          }
        }
      },
      "UserRoleAssignment": {
        "required": [
          "userId",
          "role"
        ],
        "type": "object",
        "properties": {
          "userId": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        }
      },
      "UserTenantItem": {
        "required": [
          "tenantId",
          "tenantName",
          "tenantSlug"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "tenantName": {
            "type": "string"
          },
          "tenantSlug": {
            "type": "string"
          }
        }
      },
      "WebhookId": { },
      "WebhookOperationResponse": {
        "required": [
          "success",
          "message"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "webhook": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/WebhookResponse"
              }
            ]
          }
        }
      },
      "WebhookResponse": {
        "required": [
          "id",
          "name",
          "targetUrl",
          "eventTypes",
          "isActive",
          "keyPrefix",
          "projectId",
          "environmentId",
          "createdBy",
          "createdAt",
          "updatedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "targetUrl": {
            "type": "string"
          },
          "eventTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isActive": {
            "type": "boolean"
          },
          "keyPrefix": {
            "type": "string"
          },
          "projectId": {
            "type": [
              "null",
              "string"
            ]
          },
          "environmentId": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdBy": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "linkedEnvironmentId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "linkedKeyName": {
            "type": [
              "null",
              "string"
            ]
          },
          "autoRotateDays": {
            "type": [
              "null",
              "integer"
            ],
            "format": "int32"
          },
          "nextRotationAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "BellaBaxter.Features.Webhooks.CreateWebhook"
    },
    {
      "name": "BellaBaxter.Features.Webhooks.DeactivateWebhook"
    },
    {
      "name": "BellaBaxter.Features.Webhooks.DeleteWebhook"
    },
    {
      "name": "BellaBaxter.Features.Webhooks.GetWebhook"
    },
    {
      "name": "BellaBaxter.Features.Webhooks.UpdateWebhook"
    },
    {
      "name": "BellaBaxter.Features.Webhooks.LinkWebhookToProvider"
    },
    {
      "name": "BellaBaxter.Features.Webhooks.ListEnvironmentWebhooks"
    },
    {
      "name": "BellaBaxter.Features.Webhooks.ListProjectWebhooks"
    },
    {
      "name": "BellaBaxter.Features.Webhooks.ListTenantWebhooks"
    },
    {
      "name": "BellaBaxter.Features.Webhooks.ListWebhookDeliveries"
    },
    {
      "name": "BellaBaxter.Features.Webhooks.ReactivateWebhook"
    },
    {
      "name": "BellaBaxter.Features.Webhooks.RotateWebhookSecret"
    },
    {
      "name": "BellaBaxter.Features.Webhooks.TestWebhook"
    },
    {
      "name": "BellaBaxter.Features.Users.ChangeUserPassword"
    },
    {
      "name": "BellaBaxter.Features.Users.DeactivateUserAccount"
    },
    {
      "name": "BellaBaxter.Features.Users.GetUserById"
    },
    {
      "name": "BellaBaxter.Features.Users.GetCurrentUser"
    },
    {
      "name": "BellaBaxter.Features.Users.UpdateCurrentUser"
    },
    {
      "name": "BellaBaxter.Features.Users.ReactivateUserAccount"
    },
    {
      "name": "BellaBaxter.Features.Users.Handshake.HandshakeEndpoint"
    },
    {
      "name": "BellaBaxter.Features.Tenants.AcceptTenantInvite"
    },
    {
      "name": "BellaBaxter.Features.Tenants.ChangeTenantPlan"
    },
    {
      "name": "BellaBaxter.Features.Tenants.ChangeTenantUserRole"
    },
    {
      "name": "BellaBaxter.Features.Tenants.ConfigureOidcSso"
    },
    {
      "name": "BellaBaxter.Features.Tenants.ConfigureSamlSso"
    },
    {
      "name": "BellaBaxter.Features.Tenants.CreateOwnTenant"
    },
    {
      "name": "BellaBaxter.Features.Tenants.CreateTenant"
    },
    {
      "name": "BellaBaxter.Features.Tenants.ListTenants"
    },
    {
      "name": "BellaBaxter.Features.Tenants.CreateTenantInvite"
    },
    {
      "name": "BellaBaxter.Features.Tenants.ListTenantInvites"
    },
    {
      "name": "BellaBaxter.Features.Tenants.DownloadEmergencyKit"
    },
    {
      "name": "BellaBaxter.Features.Tenants.GetBillingStatements"
    },
    {
      "name": "BellaBaxter.Features.Tenants.GetSsoConfig"
    },
    {
      "name": "BellaBaxter.Features.Tenants.RemoveSso"
    },
    {
      "name": "BellaBaxter.Features.Tenants.UpdateSsoConfig"
    },
    {
      "name": "BellaBaxter.Features.Tenants.GetTenant"
    },
    {
      "name": "BellaBaxter.Features.Tenants.GetTenantEncryptionKey"
    },
    {
      "name": "BellaBaxter.Features.Tenants.RegisterTenantEncryptionKey"
    },
    {
      "name": "BellaBaxter.Features.Tenants.GetTenantInvite"
    },
    {
      "name": "BellaBaxter.Features.Tenants.GetTenantUsage"
    },
    {
      "name": "BellaBaxter.Features.Tenants.ListTenantUsers"
    },
    {
      "name": "BellaBaxter.Features.Tenants.MigrateTenantEncryption"
    },
    {
      "name": "BellaBaxter.Features.Tenants.RecoverTenantEncryptionKey"
    },
    {
      "name": "BellaBaxter.Features.Tenants.RemoveTenantUser"
    },
    {
      "name": "BellaBaxter.Features.Tenants.ReprovisionTenantDek"
    },
    {
      "name": "BellaBaxter.Features.Tenants.RequestSsoAccess"
    },
    {
      "name": "BellaBaxter.Features.Tenants.RevokeTenantInvite"
    },
    {
      "name": "BellaBaxter.Features.Tenants.SwitchTenant"
    },
    {
      "name": "BellaBaxter.Features.Tenants.TenantAccessEndpoints"
    },
    {
      "name": "BellaBaxter.Features.Tenants.ProtectedTenantEndpointExample"
    },
    {
      "name": "BellaBaxter.Features.Tenants.ToggleSsoEnforcement"
    },
    {
      "name": "BellaBaxter.Features.Tenants.ToggleZkeEnforcement"
    },
    {
      "name": "BellaBaxter.Features.SystemEndpoints.DiagnosticsEndpoint"
    },
    {
      "name": "BellaBaxter.Features.SystemEndpoints.GetIntegrationInfo"
    },
    {
      "name": "BellaBaxter.Features.SystemEndpoints.GetVersion"
    },
    {
      "name": "BellaBaxter.Features.SystemEndpoints.SystemEndpoints"
    },
    {
      "name": "BellaBaxter.Features.SuperAdmin.GetUserTenants"
    },
    {
      "name": "BellaBaxter.Features.Ssh.ListSshLogs"
    },
    {
      "name": "BellaBaxter.Features.Shares.CreateShare"
    },
    {
      "name": "BellaBaxter.Features.Shares.ListMyShares"
    },
    {
      "name": "BellaBaxter.Features.Shares.GetShare"
    },
    {
      "name": "BellaBaxter.Features.Shares.RevokeShare"
    },
    {
      "name": "BellaBaxter.Features.Shares.UnlockShare"
    },
    {
      "name": "BellaBaxter.Features.SecurityIntelligence.GetEnvironmentSecurityReport"
    },
    {
      "name": "BellaBaxter.Features.SecurityIntelligence.GetProjectSecurity"
    },
    {
      "name": "BellaBaxter.Features.SecurityIntelligence.TriggerProjectGlobalScan"
    },
    {
      "name": "BellaBaxter.Features.SecurityIntelligence.GetTenantSecuritySummary"
    },
    {
      "name": "BellaBaxter.Features.SecurityIntelligence.TriggerEnvironmentScan"
    },
    {
      "name": "BellaBaxter.Features.Providers.CreateProvider"
    },
    {
      "name": "BellaBaxter.Features.Providers.ListProviders"
    },
    {
      "name": "BellaBaxter.Features.Providers.DeleteProvider"
    },
    {
      "name": "BellaBaxter.Features.Providers.GetProvider"
    },
    {
      "name": "BellaBaxter.Features.Providers.UpdateProvider"
    },
    {
      "name": "BellaBaxter.Features.Providers.GetAwsRegions"
    },
    {
      "name": "BellaBaxter.Features.Providers.GetProviderCatalog"
    },
    {
      "name": "BellaBaxter.Features.Providers.GetProvidersByProject"
    },
    {
      "name": "BellaBaxter.Features.Projects.AssignProvidersToProject"
    },
    {
      "name": "BellaBaxter.Features.Providers.InitSystemProvider"
    },
    {
      "name": "BellaBaxter.Features.Providers.SearchProviders"
    },
    {
      "name": "BellaBaxter.Features.Projects.AssignProjectUsers"
    },
    {
      "name": "BellaBaxter.Features.Projects.GetProjectUsers"
    },
    {
      "name": "BellaBaxter.Features.Projects.DeleteProject"
    },
    {
      "name": "BellaBaxter.Features.Projects.UpdateProject"
    },
    {
      "name": "BellaBaxter.Features.Projects.GetProject.GetProject"
    },
    {
      "name": "BellaBaxter.Features.Projects.ExportProject"
    },
    {
      "name": "BellaBaxter.Features.Projects.GetProjectEncryptionKey"
    },
    {
      "name": "BellaBaxter.Features.Projects.GetSecretDrift"
    },
    {
      "name": "BellaBaxter.Features.Projects.ImportProject"
    },
    {
      "name": "BellaBaxter.Features.Projects.ListProjects"
    },
    {
      "name": "BellaBaxter.Features.Projects.CreateProject.CreateProject"
    },
    {
      "name": "BellaBaxter.Features.Projects.ProvisionProjectDek"
    },
    {
      "name": "BellaBaxter.Features.Projects.RemoveProjectUser"
    },
    {
      "name": "BellaBaxter.Features.Projects.RotateProjectDek"
    },
    {
      "name": "BellaBaxter.Features.Projects.SetGlobalSecretProvider"
    },
    {
      "name": "BellaBaxter.Features.Projects.UnassignProviderFromProject"
    },
    {
      "name": "BellaBaxter.Features.Projects.UpdateProjectUserPermissions"
    },
    {
      "name": "BellaBaxter.Features.Projects.Groups.AssignGroupToProject"
    },
    {
      "name": "BellaBaxter.Features.Projects.Groups.GetProjectGroups"
    },
    {
      "name": "BellaBaxter.Features.Projects.Groups.UnassignGroupFromProject"
    },
    {
      "name": "BellaBaxter.Features.Projects.GlobalSecrets.CreateGlobalSecret"
    },
    {
      "name": "BellaBaxter.Features.Projects.GlobalSecrets.ListGlobalSecrets"
    },
    {
      "name": "BellaBaxter.Features.Projects.GlobalSecrets.DeleteGlobalSecret"
    },
    {
      "name": "BellaBaxter.Features.Projects.GlobalSecrets.UpdateGlobalSecret"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.AssignProvidersToEnvironment"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.GetEnvironmentProviders"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.AssignUsersToEnvironment"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.GetEnvironmentUsers"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.CopyEnvironment"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.CreateEnvironment"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.ListEnvironments"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.DeleteEnvironment"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.GetEnvironment"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.UpdateEnvironment"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.GetEnvironmentDrift"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.GetSecretDriftSummary"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.RemoveProviderFromEnvironment"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.RemoveUserFromEnvironment"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.UpdateEnvironmentUserRole"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.RestoreEnvironment"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.UpdateLeasePolicy"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.TrustDomains.CreateTrustDomain"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.TrustDomains.ListTrustDomains"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.TrustDomains.DeleteTrustDomain"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.TrustDomains.GetTrustDomain"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.TrustDomains.UpdateTrustDomain"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.TrustDomains.ExchangeOidcToken"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.TrustDomains.ExchangeOidcTokenBySlug"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Totp.DeleteTotpKey"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Totp.GenerateTotpKey"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Totp.GetTotpCode"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Totp.ImportTotpKey"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Totp.ListTotpKeys"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Ssh.ConfigureSsh"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Ssh.CreateSshRole"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Ssh.ListSshRoles"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Ssh.DeleteSshRole"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Ssh.GetSshCaPublicKey"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Ssh.SignSshKey"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.CreateSecret"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.GetSecretsByProvider"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.DeleteSecret"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.GetSecret"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.UpdateSecret"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.ExportEnvironmentSecrets"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.ExportSecrets"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.GetAllEnvironmentSecrets"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.GetEnvironmentSecretsVersion"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.GetSecretsHash"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.GetSecretsManifest"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.ImportSecrets"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.PreviewImportSecrets"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.RotateRotationSigningSecret"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.SetSecretRotationPolicy"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.TriggerSecretRotation"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.UpdateSecretMetadata"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.UploadSecretsFile"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.Versions.DeleteSecretVersion"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.Versions.GetSecretVersion"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.Versions.DestroySecretVersion"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.Versions.ListSecretVersions"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.Versions.RollbackSecret"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Secrets.Versions.UndeleteSecretVersion"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Pki.ConfigurePkiCa"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Pki.GetPkiCa"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Pki.CreatePkiRole"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Pki.ListPkiRoles"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Pki.DeletePkiRole"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Pki.IssuePkiCertificate"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Pki.ListPkiCertificates"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Pki.RevokePkiCertificate"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Pki.TidyPkiCerts"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Leases.ListLeases"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Leases.RevokeLeases"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Groups.AssignGroupToEnvironment"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Groups.GetEnvironmentGroups"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.Groups.UnassignGroupFromEnvironment"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.DynamicCredentials.GenerateCredentials"
    },
    {
      "name": "BellaBaxter.Features.Projects.Environments.DynamicCredentials.ListCredentialRoles"
    },
    {
      "name": "BellaBaxter.Features.Pki.ListPkiLogs"
    },
    {
      "name": "BellaBaxter.Features.Notifications.CreateNotificationChannel"
    },
    {
      "name": "BellaBaxter.Features.Notifications.DeleteNotificationChannel"
    },
    {
      "name": "BellaBaxter.Features.Notifications.GetNotificationChannel"
    },
    {
      "name": "BellaBaxter.Features.Notifications.ListEnvironmentNotifications"
    },
    {
      "name": "BellaBaxter.Features.Notifications.ListProjectNotifications"
    },
    {
      "name": "BellaBaxter.Features.Notifications.ListTenantNotifications"
    },
    {
      "name": "BellaBaxter.Features.Notifications.TestNotificationChannel"
    },
    {
      "name": "BellaBaxter.Features.Notifications.ToggleNotificationChannel"
    },
    {
      "name": "BellaBaxter.Features.Notifications.UpdateNotificationChannel"
    },
    {
      "name": "BellaBaxter.Features.Groups.AddUserToGroup"
    },
    {
      "name": "BellaBaxter.Features.Groups.GetGroupMembers"
    },
    {
      "name": "BellaBaxter.Features.Groups.CreateGroup"
    },
    {
      "name": "BellaBaxter.Features.Groups.ListGroups"
    },
    {
      "name": "BellaBaxter.Features.Groups.DeleteGroup"
    },
    {
      "name": "BellaBaxter.Features.Groups.GetGroup"
    },
    {
      "name": "BellaBaxter.Features.Groups.UpdateGroup"
    },
    {
      "name": "BellaBaxter.Features.Groups.RemoveUserFromGroup"
    },
    {
      "name": "BellaBaxter.Features.Events.GetSseStream"
    },
    {
      "name": "BellaBaxter.Features.Dashboard.GetDashboard"
    },
    {
      "name": "BellaBaxter.Features.Billing.CreateBillingPortalSession"
    },
    {
      "name": "BellaBaxter.Features.Billing.CreateCheckoutSession"
    },
    {
      "name": "BellaBaxter.Features.Billing.StripeWebhookHandler"
    },
    {
      "name": "BellaBaxter.Features.Auth.ExchangeToken"
    },
    {
      "name": "BellaBaxter.Features.Auth.GetAuthConfig"
    },
    {
      "name": "BellaBaxter.Features.Auth.GetSsoHint"
    },
    {
      "name": "BellaBaxter.Features.ApiKeys.CreateApiKey"
    },
    {
      "name": "BellaBaxter.Features.ApiKeys.GetEnvironmentApiKeys"
    },
    {
      "name": "BellaBaxter.Features.ApiKeys.CreatePersonalApiKey"
    },
    {
      "name": "BellaBaxter.Features.ApiKeys.GetPersonalApiKeys"
    },
    {
      "name": "BellaBaxter.Features.ApiKeys.CreateTenantAdminApiKey"
    },
    {
      "name": "BellaBaxter.Features.ApiKeys.DeleteApiKey"
    },
    {
      "name": "BellaBaxter.Features.ApiKeys.GetApiKeyById"
    },
    {
      "name": "BellaBaxter.Features.ApiKeys.UpdateApiKey"
    },
    {
      "name": "BellaBaxter.Features.ApiKeys.DeletePersonalApiKey"
    },
    {
      "name": "BellaBaxter.Features.ApiKeys.GetKeyContext"
    },
    {
      "name": "BellaBaxter.Features.ApiKeys.IssueEnvironmentToken"
    },
    {
      "name": "BellaBaxter.Features.ApiKeys.ToggleApiKeyStatus"
    },
    {
      "name": "BellaBaxter.Features.Admin.ChangeAdminPassword"
    },
    {
      "name": "BellaBaxter.Features.Admin.CreateAdminUser"
    },
    {
      "name": "BellaBaxter.Features.Admin.DeactivateUser"
    },
    {
      "name": "BellaBaxter.Features.Admin.GetProjectRoles"
    },
    {
      "name": "BellaBaxter.Features.AccessLog.ListAccessLogs"
    }
  ]
}