aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-01 21:10:42 +0900
committernsfisis <nsfisis@gmail.com>2024-08-01 21:10:42 +0900
commitebb1129ae9ef16139a32bf899d42009176642299 (patch)
tree5914c4d25ebe40e5a149da762624e9a5352c395d /frontend
parent72012983718a8d1f1d850e24e9af3a29fb20374a (diff)
downloadiosdc-japan-2024-albatross-ebb1129ae9ef16139a32bf899d42009176642299.tar.gz
iosdc-japan-2024-albatross-ebb1129ae9ef16139a32bf899d42009176642299.tar.zst
iosdc-japan-2024-albatross-ebb1129ae9ef16139a32bf899d42009176642299.zip
refactor: simplify parameter definitions in OpenAPI spec
Diffstat (limited to 'frontend')
-rw-r--r--frontend/app/.server/api/schema.d.ts25
1 files changed, 14 insertions, 11 deletions
diff --git a/frontend/app/.server/api/schema.d.ts b/frontend/app/.server/api/schema.d.ts
index 1adfc86..37e9b8c 100644
--- a/frontend/app/.server/api/schema.d.ts
+++ b/frontend/app/.server/api/schema.d.ts
@@ -259,7 +259,10 @@ export interface components {
};
};
responses: never;
- parameters: never;
+ parameters: {
+ header_authorization: string;
+ path_game_id: number;
+ };
requestBodies: never;
headers: never;
pathItems: never;
@@ -314,7 +317,7 @@ export interface operations {
parameters: {
query?: never;
header: {
- Authorization: string;
+ Authorization: components["parameters"]["header_authorization"];
};
path?: never;
cookie?: never;
@@ -351,7 +354,7 @@ export interface operations {
parameters: {
query?: never;
header: {
- Authorization: string;
+ Authorization: components["parameters"]["header_authorization"];
};
path?: never;
cookie?: never;
@@ -399,10 +402,10 @@ export interface operations {
parameters: {
query?: never;
header: {
- Authorization: string;
+ Authorization: components["parameters"]["header_authorization"];
};
path: {
- game_id: number;
+ game_id: components["parameters"]["path_game_id"];
};
cookie?: never;
};
@@ -461,7 +464,7 @@ export interface operations {
parameters: {
query?: never;
header: {
- Authorization: string;
+ Authorization: components["parameters"]["header_authorization"];
};
path?: never;
cookie?: never;
@@ -509,7 +512,7 @@ export interface operations {
parameters: {
query?: never;
header: {
- Authorization: string;
+ Authorization: components["parameters"]["header_authorization"];
};
path?: never;
cookie?: never;
@@ -557,10 +560,10 @@ export interface operations {
parameters: {
query?: never;
header: {
- Authorization: string;
+ Authorization: components["parameters"]["header_authorization"];
};
path: {
- game_id: number;
+ game_id: components["parameters"]["path_game_id"];
};
cookie?: never;
};
@@ -619,10 +622,10 @@ export interface operations {
parameters: {
query?: never;
header: {
- Authorization: string;
+ Authorization: components["parameters"]["header_authorization"];
};
path: {
- game_id: number;
+ game_id: components["parameters"]["path_game_id"];
};
cookie?: never;
};