summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api/endpoints/test.ts
diff options
context:
space:
mode:
authorMarie <marie@kaifa.ch>2024-02-19 19:06:30 +0000
committerMarie <marie@kaifa.ch>2024-02-19 19:06:30 +0000
commite248e412872dc76ec13f4e0258f4af91dc09cafa (patch)
treeb7a7ef817b62215352cf895aad87c758af833008 /packages/backend/src/server/api/endpoints/test.ts
parentrename to get it applied after upstream changes (diff)
parentmerge: Merge upstream from 19th Feburary (!428) (diff)
downloadsharkey-e248e412872dc76ec13f4e0258f4af91dc09cafa.tar.gz
sharkey-e248e412872dc76ec13f4e0258f4af91dc09cafa.tar.bz2
sharkey-e248e412872dc76ec13f4e0258f4af91dc09cafa.zip
fix: merge conflict
Diffstat (limited to 'packages/backend/src/server/api/endpoints/test.ts')
-rw-r--r--packages/backend/src/server/api/endpoints/test.ts14
1 files changed, 9 insertions, 5 deletions
diff --git a/packages/backend/src/server/api/endpoints/test.ts b/packages/backend/src/server/api/endpoints/test.ts
index 949867c572..9231f0ab94 100644
--- a/packages/backend/src/server/api/endpoints/test.ts
+++ b/packages/backend/src/server/api/endpoints/test.ts
@@ -1,5 +1,5 @@
/*
- * SPDX-FileCopyrightText: syuilo and other misskey contributors
+ * SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
@@ -18,24 +18,28 @@ export const meta = {
properties: {
id: {
type: 'string',
- format: 'misskey:id'
+ format: 'misskey:id',
+ optional: true, nullable: false,
},
required: {
type: 'boolean',
+ optional: false, nullable: false,
},
string: {
type: 'string',
+ optional: true, nullable: false,
},
default: {
type: 'string',
+ optional: true, nullable: false,
},
nullableDefault: {
type: 'string',
default: 'hello',
- nullable: true,
+ optional: true, nullable: true,
},
- }
- }
+ },
+ },
} as const;
export const paramDef = {