[Doc] all the links to the admin REST API reference doc are broken #21573
Labels
area/site
About https://pulsar.apache.org/
doc-required
Your PR changes impact docs and you will update later.
Search before asking
What issue do you find in Pulsar docs?
Description
There are links to the API reference documentation in the admin API documentation. They are generated by
@inject
instructions in the markdown files.Since Pulsar 3, each of these links is broken. Indeed, since Pulsar 3, in the API reference documentation, the operation names have changed. For example:
getSchema
has becomeSchemasResource_getSchema
. This change has caused all the links generated by@inject
from the markdown documentation to be broken.My estimate: more than 180 links are broken.
Example
admin-api-schemas.md
Genrated display
Generated link on Pulsar 2.11. docs
https://pulsar.apache.org/admin-rest-api?version=2.11.1&apiversion=v2#operation/getSchema
This link works because the operation on the Pulsar 2.x API reference doc is
getSchema
Generated link on Pulsar 3.1.1 docs
https://pulsar.apache.org/admin-rest-api?version=3.1.1&apiversion=v2#operation/getSchema
This link does not work because the operation on the Pulsar 3.x API reference doc is
SchemasResource_getSchema
instead ofgetSchema
What is your suggestion?
I have no better idea than fixing the operation name on each of 188
@inject
occurence. This is tedious. Feel free to suggest a better idea.Any reference?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: