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 3957d716dc6 Docs sync done from apache/pulsar (#002fa49)
3957d716dc6 is described below

commit 3957d716dc66ff6aedb9e61fe8eb9510fdb401df
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Dec 18 02:25:36 2022 +0000

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

diff --git a/site2/website-next/static/swagger/master/swagger.json 
b/site2/website-next/static/swagger/master/swagger.json
index 50f876f706d..dca3d8b8d69 100644
--- a/site2/website-next/static/swagger/master/swagger.json
+++ b/site2/website-next/static/swagger/master/swagger.json
@@ -26420,9 +26420,6 @@
                 ]
             },
             "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": [
@@ -26448,12 +26445,14 @@
                         "type": "string"
                     },
                     {
-                        "description": "The metadata for the topic",
+                        "description": "The number of partitions for the 
topic",
                         "in": "body",
                         "name": "body",
                         "required": true,
                         "schema": {
-                            "$ref": "#/definitions/PartitionedTopicMetadata"
+                            "default": 0,
+                            "format": "int32",
+                            "type": "integer"
                         }
                     },
                     {
diff --git a/site2/website-next/static/swagger/master/v2/swagger.json 
b/site2/website-next/static/swagger/master/v2/swagger.json
index 50f876f706d..dca3d8b8d69 100644
--- a/site2/website-next/static/swagger/master/v2/swagger.json
+++ b/site2/website-next/static/swagger/master/v2/swagger.json
@@ -26420,9 +26420,6 @@
                 ]
             },
             "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": [
@@ -26448,12 +26445,14 @@
                         "type": "string"
                     },
                     {
-                        "description": "The metadata for the topic",
+                        "description": "The number of partitions for the 
topic",
                         "in": "body",
                         "name": "body",
                         "required": true,
                         "schema": {
-                            "$ref": "#/definitions/PartitionedTopicMetadata"
+                            "default": 0,
+                            "format": "int32",
+                            "type": "integer"
                         }
                     },
                     {

Reply via email to