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/17 00:18:31 UTC

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

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 309a731a3ed Docs sync done from apache/pulsar (#3bb052a)
309a731a3ed is described below

commit 309a731a3ed68b235416280e32338929217d81f5
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Sat Dec 17 00:18:25 2022 +0000

    Docs sync done from apache/pulsar (#3bb052a)
---
 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 dca3d8b8d69..50f876f706d 100644
--- a/site2/website-next/static/swagger/master/swagger.json
+++ b/site2/website-next/static/swagger/master/swagger.json
@@ -26420,6 +26420,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": [
@@ -26445,14 +26448,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 dca3d8b8d69..50f876f706d 100644
--- a/site2/website-next/static/swagger/master/v2/swagger.json
+++ b/site2/website-next/static/swagger/master/v2/swagger.json
@@ -26420,6 +26420,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": [
@@ -26445,14 +26448,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"
                         }
                     },
                     {