aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-01 21:06:50 +0900
committernsfisis <nsfisis@gmail.com>2024-08-01 21:06:50 +0900
commit0ad7b9e54615eedfffa41709900d8e86814d2471 (patch)
tree0b7a7feff3e6288fd05ca1cb258de47b3f150925 /frontend
parentb05de1617c7ad323f582f7392e4e62c1f08af58e (diff)
downloadiosdc-japan-2024-albatross-0ad7b9e54615eedfffa41709900d8e86814d2471.tar.gz
iosdc-japan-2024-albatross-0ad7b9e54615eedfffa41709900d8e86814d2471.tar.zst
iosdc-japan-2024-albatross-0ad7b9e54615eedfffa41709900d8e86814d2471.zip
feat: explicitly define 401 responses in OpenAPI spec
Diffstat (limited to 'frontend')
-rw-r--r--frontend/app/.server/api/schema.d.ts78
1 files changed, 75 insertions, 3 deletions
diff --git a/frontend/app/.server/api/schema.d.ts b/frontend/app/.server/api/schema.d.ts
index 000c876..abe2b59 100644
--- a/frontend/app/.server/api/schema.d.ts
+++ b/frontend/app/.server/api/schema.d.ts
@@ -95,14 +95,14 @@ export interface paths {
};
};
};
- /** @description Forbidden */
- 403: {
+ /** @description Unauthorized */
+ 401: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
- /** @example Forbidden operation */
+ /** @example Unauthorized */
message: string;
};
};
@@ -149,6 +149,18 @@ export interface paths {
};
};
};
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": {
+ /** @example Unauthorized */
+ message: string;
+ };
+ };
+ };
/** @description Forbidden */
403: {
headers: {
@@ -203,6 +215,18 @@ export interface paths {
};
};
};
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": {
+ /** @example Unauthorized */
+ message: string;
+ };
+ };
+ };
/** @description Forbidden */
403: {
headers: {
@@ -267,6 +291,18 @@ export interface paths {
};
};
};
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": {
+ /** @example Unauthorized */
+ message: string;
+ };
+ };
+ };
/** @description Forbidden */
403: {
headers: {
@@ -319,6 +355,18 @@ export interface paths {
};
};
};
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": {
+ /** @example Unauthorized */
+ message: string;
+ };
+ };
+ };
/** @description Forbidden */
403: {
headers: {
@@ -373,6 +421,18 @@ export interface paths {
};
};
};
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": {
+ /** @example Unauthorized */
+ message: string;
+ };
+ };
+ };
/** @description Forbidden */
403: {
headers: {
@@ -450,6 +510,18 @@ export interface paths {
};
};
};
+ /** @description Unauthorized */
+ 401: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": {
+ /** @example Unauthorized */
+ message: string;
+ };
+ };
+ };
/** @description Forbidden */
403: {
headers: {