Skip to content

@deprecated in the description of a parameter marks the whole endpoint deprecated #217

@nickvergessen

Description

@nickvergessen

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

<?php
	/**
	 * Create a room with a user, a group or a circle
	 *
	 * @param int $roomType Type of the room
	 * @psalm-param Room::TYPE_* $roomType
	 * @param string $invite User, group, … ID to invite @deprecated Use the $participants array instead
	 * @param string $roomName Name of the room
	 * …
	 */
diff --git a/openapi-full.json b/openapi-full.json
index 0de184c41..50946f198 100644
--- a/openapi-full.json
+++ b/openapi-full.json
@@ -11868,6 +11868,7 @@
             "post": {
                 "operationId": "room-create-room",
                 "summary": "Create a room with a user, a group or a circle",
+                "deprecated": true,
                 "tags": [
                     "room"
                 ],
@@ -11897,7 +11898,7 @@
                                     "invite": {
                                         "type": "string",
                                         "default": "",
-                                        "description": "User, group, <E2><80><A6> ID to invite"
+                                        "description": "User, group, <E2><80><A6> ID to invite @deprecated Use the $participants array instead"
                                     },
                                     "roomName": {
                                         "type": "string",

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions