Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
openapi: Fix wrong schemas.
orientorc4ccf0d6b378
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 2133333af7f..ab3323dbe73 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -387,9 +387,7 @@ paths:Size of the file in bytes.create_time:# TODO: Make this value always return integers.- oneOf:- - type: integer- - type: number+ type: numberdescription: |Time when the attachment was uploaded as a UNIX timestampmultiplied by 1000 (matching the format of getTime() in JavaScript).@@ -418,7 +416,7 @@ paths:"name": "166050.jpg","path_id": "2/ce/DfOkzwdg_IwlrN3myw3KGtiJ/166050.jpg","size": 571946,- "create_time": 1588145417000,+ "create_time": 1588145417000.0,"messages": [{"id": 102,@@ -651,9 +649,7 @@ paths:type: objectproperties:emoji_code:- oneOf:- - type: string- - type: integer+ type: stringdescription: |A unique identifier, defining the specific emoji codepoint requested,within the namespace of the `reaction_type`.