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

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


The following commit(s) were added to refs/heads/master by this push:
     new 05662cc4fba Add lookup REST api swagger config. (#16621)
05662cc4fba is described below

commit 05662cc4fbaa0489e154b79d2205252a00b51a3f
Author: Baodi Shi <[email protected]>
AuthorDate: Mon Aug 1 09:06:54 2022 +0800

    Add lookup REST api swagger config. (#16621)
---
 pulsar-broker/pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/pulsar-broker/pom.xml b/pulsar-broker/pom.xml
index 5cd9b9bf845..afe66cc658c 100644
--- a/pulsar-broker/pom.xml
+++ b/pulsar-broker/pom.xml
@@ -686,6 +686,23 @@
                   <swaggerDirectory>${basedir}/target/docs</swaggerDirectory>
                   <swaggerFileName>swagger</swaggerFileName>
                 </apiSource>
+                <apiSource>
+                  <springmvc>false</springmvc>
+                  <locations>org.apache.pulsar.broker.lookup.v2</locations>
+                  <schemes>http,https</schemes>
+                  <basePath>/lookup/v2</basePath>
+                  <info>
+                    <title>Pulsar Lookup REST API</title>
+                    <version>v2</version>
+                    <description>This provides the REST API for lookup 
operations</description>
+                    <license>
+                      
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
+                      <name>Apache 2.0</name>
+                    </license>
+                  </info>
+                  <swaggerDirectory>${basedir}/target/docs</swaggerDirectory>
+                  <swaggerFileName>swaggerlookup</swaggerFileName>
+                </apiSource>
                 <apiSource>
                   <springmvc>false</springmvc>
                   
<locations>org.apache.pulsar.broker.admin.v3.Functions</locations>

Reply via email to