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 d7c4a347920 Docs sync done from apache/pulsar (#a35670d)
d7c4a347920 is described below

commit d7c4a347920e0e9ebe1929920c79cefabcc7f813
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Dec 16 06:11:41 2022 +0000

    Docs sync done from apache/pulsar (#a35670d)
---
 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