From dfd27eaed719013af79f0169916be2b4e332917e Mon Sep 17 00:00:00 2001 From: "hotdata-automation[bot]" <267177015+hotdata-automation[bot]@users.noreply.github.com> Date: Sat, 26 Sep 2026 15:39:32 +0000 Subject: [PATCH] chore: add 403 forbidden response to endpoints --- CHANGELOG.md | 1 + src/apis/information_schema_api.rs | 1 + src/apis/jobs_api.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bf1497..a728358 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- chore: add 403 forbidden response to endpoints - feat(jobs): add database_fork job type ## [0.19.0] - 2026-09-23 diff --git a/src/apis/information_schema_api.rs b/src/apis/information_schema_api.rs index 4104ec0..7b16b92 100644 --- a/src/apis/information_schema_api.rs +++ b/src/apis/information_schema_api.rs @@ -17,6 +17,7 @@ use serde::{de::Error as _, Deserialize, Serialize}; #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum InformationSchemaError { + Status403(models::ApiErrorResponse), Status404(models::ApiErrorResponse), UnknownValue(serde_json::Value), } diff --git a/src/apis/jobs_api.rs b/src/apis/jobs_api.rs index e18433d..134783b 100644 --- a/src/apis/jobs_api.rs +++ b/src/apis/jobs_api.rs @@ -17,6 +17,7 @@ use serde::{de::Error as _, Deserialize, Serialize}; #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum GetJobError { + Status403(models::ApiErrorResponse), Status404(models::ApiErrorResponse), UnknownValue(serde_json::Value), }