Skip to content

Commit 4ecd5bd

Browse files
committed
Add lookup REST api swagger config.
1 parent c5ccc92 commit 4ecd5bd

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

pulsar-broker/pom.xml

+17
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,23 @@
686686
<swaggerDirectory>${basedir}/target/docs</swaggerDirectory>
687687
<swaggerFileName>swagger</swaggerFileName>
688688
</apiSource>
689+
<apiSource>
690+
<springmvc>false</springmvc>
691+
<locations>org.apache.pulsar.broker.lookup.v2</locations>
692+
<schemes>http,https</schemes>
693+
<basePath>/lookup/v2</basePath>
694+
<info>
695+
<title>Pulsar Lookup REST API</title>
696+
<version>v2</version>
697+
<description>This provides the REST API for lookup operations</description>
698+
<license>
699+
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
700+
<name>Apache 2.0</name>
701+
</license>
702+
</info>
703+
<swaggerDirectory>${basedir}/target/docs</swaggerDirectory>
704+
<swaggerFileName>swaggerlookup</swaggerFileName>
705+
</apiSource>
689706
<apiSource>
690707
<springmvc>false</springmvc>
691708
<locations>org.apache.pulsar.broker.admin.v3.Functions</locations>

0 commit comments

Comments
 (0)