mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
chore(deps): upgrade all dependencies, toolchains and images (#2825)
This commit is contained in:
1 parent
56e04e7b53
commit
3b552e00ef
510 files changed
+23614
-37473
No files matched your search
@@ -142,7 +142,7 @@ export class OpenAPIOperationBuilder {
|
||||
const location = validator.target === 'param' ? 'path' : validator.target;
|
||||
const schemaName = validator.schemaName;
|
||||
const schema = this.schemaRegistry.get(schemaName);
|
||||
if (!schema || schema.type !== 'object' || !schema.properties) {
|
||||
if (schema?.type !== 'object' || !schema.properties) {
|
||||
throw new Error(`Parameter schema must be an object: ${schemaName}`);
|
||||
}
|
||||
const required = new Set(schema.required ?? []);
|
||||
|
||||
Reference in new issue
Block a user