poorbarcode opened a new pull request, #19193:
URL: https://github.com/apache/pulsar/pull/19193

   ### Motivation
   
   Now that site [admin-rest-api](https://pulsar.apache.org/admin-rest-api) is 
automatically generated through swagger, each API in the site has its own link 
that we can walk through, the generated rule of API-link is 
`https://pulsar.apache.org/admin-rest-api/#operation/{method name in the 
endpoint class}`, we call the suffix `#operation/{method name in the endpoint 
class}` of link anchor.
   
   But there has the same method name, such as `Namespaces.setDispatchRate` and 
`PersistentTopics.setDispatchRate`. When there are two identical anchors on the 
page, only one will take effect, as in the example above, API 
`Namespaces.setDispatchRate` and `PersistentTopics.setDispatchRate` has the 
same link: 
`https://pulsar.apache.org/admin-rest-api/#operation/setDispatchRate`.
   
   ### Modifications
   
   Make the API in class `Namespaces` and class `PersistentTopics` correspond 
to the big method name different.
   
   
   ### Does this pull request potentially affect one of the following parts:
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   *If the box was checked, please highlight the changes*
   
   - [ ] Dependencies (add or upgrade a dependency)
   - [ ] The public API
   - [ ] The schema
   - [ ] The default values of configurations
   - [ ] The threading model
   - [ ] The binary protocol
   - [ ] The REST endpoints
   - [ ] The admin CLI options
   - [ ] The metrics
   - [x] Anything that affects deployment
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [x] `doc` <!-- Your PR contains doc changes. Please attach the local 
preview screenshots (run `sh start.sh` at `pulsar/site2/website`) to your PR 
description, or else your PR might not get merged. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->
   
   ### Matching PR in forked repository
   
   PR in forked repository: 
   - https://github.com/poorbarcode/pulsar/pull/51
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to