You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/12/22 12:10:33 UTC

[pulsar-site] branch main updated: Docs sync done from apache/pulsar (#41edd2e)

This is an automated email from the ASF dual-hosted git repository.

urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 6501b6df405 Docs sync done from apache/pulsar (#41edd2e)
6501b6df405 is described below

commit 6501b6df405f4220f34add5b904f38ec9330654a
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Thu Dec 22 12:10:26 2022 +0000

    Docs sync done from apache/pulsar (#41edd2e)
---
 site2/website-next/static/swagger/master/swagger.json    | 9 +++++----
 site2/website-next/static/swagger/master/v2/swagger.json | 9 +++++----
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/site2/website-next/static/swagger/master/swagger.json b/site2/website-next/static/swagger/master/swagger.json
index 2b68a2121be..5e6933d24a3 100644
--- a/site2/website-next/static/swagger/master/swagger.json
+++ b/site2/website-next/static/swagger/master/swagger.json
@@ -28483,6 +28483,9 @@
                 ]
             },
             "put": {
+                "consumes": [
+                    "application/vnd.partitioned-topic-metadata+json"
+                ],
                 "description": "It needs to be called before creating a producer on a partitioned topic.",
                 "operationId": "createPartitionedTopic",
                 "parameters": [
@@ -28508,14 +28511,12 @@
                         "type": "string"
                     },
                     {
-                        "description": "The number of partitions for the topic",
+                        "description": "The metadata for the topic",
                         "in": "body",
                         "name": "body",
                         "required": true,
                         "schema": {
-                            "default": 0,
-                            "format": "int32",
-                            "type": "integer"
+                            "$ref": "#/definitions/PartitionedTopicMetadata"
                         }
                     },
                     {
diff --git a/site2/website-next/static/swagger/master/v2/swagger.json b/site2/website-next/static/swagger/master/v2/swagger.json
index 2b68a2121be..5e6933d24a3 100644
--- a/site2/website-next/static/swagger/master/v2/swagger.json
+++ b/site2/website-next/static/swagger/master/v2/swagger.json
@@ -28483,6 +28483,9 @@
                 ]
             },
             "put": {
+                "consumes": [
+                    "application/vnd.partitioned-topic-metadata+json"
+                ],
                 "description": "It needs to be called before creating a producer on a partitioned topic.",
                 "operationId": "createPartitionedTopic",
                 "parameters": [
@@ -28508,14 +28511,12 @@
                         "type": "string"
                     },
                     {
-                        "description": "The number of partitions for the topic",
+                        "description": "The metadata for the topic",
                         "in": "body",
                         "name": "body",
                         "required": true,
                         "schema": {
-                            "default": 0,
-                            "format": "int32",
-                            "type": "integer"
+                            "$ref": "#/definitions/PartitionedTopicMetadata"
                         }
                     },
                     {