Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

openapi: Add missing object types.

Anders Kaseorgf1a9c8789793
diff --git a/zerver/openapi/testing.yaml b/zerver/openapi/testing.yaml
index fff7617fc47..c2d56b08bce 100644
--- a/zerver/openapi/testing.yaml
+++ b/zerver/openapi/testing.yaml
@@ -4,6 +4,7 @@ test1:
content:
application/json:
schema:
+ type: object
additionalProperties: false
properties:
top_array:
@@ -43,6 +44,7 @@ test2:
content:
application/json:
schema:
+ type: object
additionalProperties: false
properties:
top_array:
@@ -83,6 +85,7 @@ test3:
content:
application/json:
schema:
+ type: object
additionalProperties: false
properties:
top_array:
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 5482b0c269a..81eb7a93c1f 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -3870,6 +3870,7 @@ paths:
content:
multipart/form-data:
schema:
+ type: object
properties:
filename:
type: string
@@ -4921,6 +4922,7 @@ paths:
content:
multipart/form-data:
schema:
+ type: object
properties:
filename:
type: string
@@ -8047,6 +8049,7 @@ paths:
content:
application/json:
schema:
+ type: object
additionalProperties: false
properties:
data: